Commit graph

2231 commits

Author SHA1 Message Date
KHobbits
5e6f6b2482 Tweak /baltop to not show displaynames on vanished players. 2013-05-12 21:19:54 +01:00
KHobbits
29c9a46c2f Tiny listener optimizations. 2013-05-12 20:59:07 +01:00
KHobbits
6d317fd26d Small tweak to warning display and make config variable 'economy-lag-warning' set in ms not ns. 2013-05-12 16:31:40 +01:00
KHobbits
8ebe55a294 Make the lag warning configurable, useful to debug economy lag on larger servers. 2013-05-12 16:10:41 +01:00
KHobbits
af2c514f2a Throw console warning on slow economy api call. 2013-05-12 04:12:34 +01:00
GunfighterJ
3042151fee [Fix] Check initial direction when looking for a safe teleport spot 2013-05-10 11:21:39 -05:00
KHobbits
59f67acfd0 Don't treat AFK players as god mode when dealing with food regen. 2013-05-09 17:44:10 +01:00
snowleo
7051801a85 Update ItemDb.java 2013-05-08 00:53:37 +03:00
snowleo
0d02b91506 Doesn't need this 2013-05-08 00:52:39 +03:00
KHobbits
5f6cca83ce [Feature] Withdraw from trade signs without dropping items as overflow. [EXPERIMENTAL] 2013-05-06 23:09:31 +01:00
KHobbits
ed5743147b Add some sign debugging to /ess debug to help track down charging issues. 2013-05-05 22:37:28 +01:00
KHobbits
1bb7946e13 Couple more bits of Eco cleanup 2013-05-05 20:05:28 +01:00
KHobbits
9ec1a6b78f Fix /sell to handle zero priced items again. 2013-05-05 19:59:35 +01:00
snowleo
76a96d1004 Make it compatible with Factions again. 2013-05-05 19:00:21 +03:00
snowleo
b49aaee66d Catch both exceptions in EssentialsConf and valueOf instead of new 2013-05-05 11:55:39 +02:00
snowleo
0d34b9ae9f Cleanup 2013-05-05 11:42:53 +02:00
snowleo
6044cca54f ECONOMY MADNESS? THIS IS … FIXED 2013-05-05 11:41:19 +02:00
snowleo
aaebb6143e fix NPE in teleport code 2013-05-05 11:08:49 +03:00
KHobbits
c4ac744d35 Further economy cleanup 2013-05-05 08:03:06 +01:00
KHobbits
162b67aaa6 Cleanup player argument matching in loops
Cleanup ess cleanup timestamp matching
2013-05-05 07:15:33 +01:00
KHobbits
2d70bb19f7 Economy Madness 2013-05-05 05:12:17 +01:00
KHobbits
801acbb004 Trim stored precision to below that of a double, to prevent rounding issues. 2013-05-05 01:23:07 +01:00
Necrodoom
a65d0db57d Throw invalid kit message on invalid delay 2013-05-04 18:26:34 +01:00
KHobbits
479dad9966 cleanup 2013-05-04 18:22:55 +01:00
KHobbits
b7acccfc8b [Feature] Make /kit list kit costs if any are set. 2013-05-04 18:11:35 +01:00
KHobbits
cdbdb5e8e9 [Permission] Add essentials.repair.all permission, which is required to unlock /repair all
Also make it to /repair defaults to hand.
2013-05-04 16:06:06 +01:00
KHobbits
6e20275cc7 [Fix] Allow Feed to be used via console
Throw events when modifying heath or food levels.
2013-05-04 16:04:59 +01:00
snowleo
aac9e4884d Remove User instance from Teleport class 2013-05-03 01:53:54 +02:00
snowleo
ddb3b13931 Don't trust File.length() 2013-05-03 01:26:51 +02:00
snowleo
c62f762724 Do not keep hard references to User objects 2013-05-03 01:15:02 +02:00
snowleo
4bdeb1324d *angry eyes* 2013-05-03 00:25:07 +02:00
snowleo
555a300378 Fix cleanup to not hold Users in memory. 2013-05-03 00:12:40 +02:00
Iaccidentally
ebc6b14284 Update libs for 1.5.2 :: Minimum CB version now 2763 2013-05-02 11:54:05 -04:00
Iaccidentally
7bbceed491 Minor cleanup 2013-04-30 12:57:38 -04:00
Iaccidentally
1ab2a51550 API & misc cleanup 2013-04-30 12:25:25 -04:00
Iaccidentally
42dc6a2e07 Merge pull request #460 from main--/2.9
Made the "throws" declaration of getWarps() more specific
2013-04-30 08:30:41 -07:00
KHobbits
9ba9223632 Support /me in console 2013-04-30 02:24:30 +01:00
KHobbits
c4173c0486 Allow powertool to be set from console. 2013-04-30 02:18:22 +01:00
KHobbits
a43cbe061a Move spawnmob.stack perm check to the right place. 2013-04-30 01:37:39 +01:00
KHobbits
9d2358ed4d [Fix] Stacked mobs count towards spawnmob-limit count. 2013-04-30 01:04:40 +01:00
KHobbits
7913cfdb3c Fix currency rounding up. 2013-04-30 00:35:39 +01:00
KHobbits
137d0df9dc Fix TL messages. 2013-04-30 00:18:53 +01:00
KHobbits
d425ab5f93 Fix Eco take bug and fix NPE 2013-04-30 00:07:28 +01:00
GunfighterJ
006f996283 Remove ArrayListInput
Formatting
2013-04-29 14:04:59 -05:00
main()
538a2425c5 Made the "throws" declaration of getWarps() more specific
It is very difficult to handle an Exception thrown by an API method when you don't have any way to **programatically** (without dirty stuff like string comparisons, so the message is not enough) distinguish errors and find out what's going on.
2013-04-29 20:29:42 +02:00
GunfighterJ
79bdd8a212 Add keyword replacements in kits
Add SimpleTextInput constructor for lists
Variable refactoring for clarity.
2013-04-29 06:31:08 -05:00
Iaccidentally
28cbac6610 cleanup last commit a bit 2013-04-28 17:22:11 -04:00
Iaccidentally
0a03696983 [API] Add a warp api, with future 3.x support :: minor cleanup 2013-04-28 16:23:45 -04:00
Iaccidentally
02df03a4b1 [CHANGE] Rewrite eco command with better logic :: the command will now attempt to do exactly what it is told, with respect to the minimum balance :: fix missing messages 2013-04-27 23:44:23 -04:00
KHobbits
3396cf6e02 [Fix] Try singular and plural entity names in /remove. 2013-04-28 04:26:39 +01:00
Necrodoom
e60f17bb53 Fix radius in /remove and add world.
Fix SocialSpy
Fix /killall world argument.
2013-04-28 04:20:28 +01:00
Necrodoom
eb0c71984c [Feature] Add /socialspy other 2013-04-28 03:44:24 +01:00
Necrodoom
b093111920 [Fix] Output proper message if typo'd kit 2013-04-28 03:22:31 +01:00
snowleo
c55e52539e Update Commandgc.java 2013-04-23 08:57:22 +03:00
snowleo
1dfad57c6f Derp, still need currentTime 2013-04-23 08:55:02 +03:00
snowleo
6148583fb2 Fix tps after Timer changes 2013-04-23 08:51:25 +03:00
snowleo
9160410a50 Allow to forceSave conf files 2013-04-23 00:47:45 +02:00
snowleo
2588e20140 Delayed write to file (experimental) 2013-04-22 23:31:11 +02:00
KHobbits
dfc62bca76 Minor TP and timer tweaks. 2013-04-22 00:11:13 +01:00
KHobbits
f48871ff29 Attempt to smooth out timer usage.
Add extra sign metrics.
2013-04-21 23:39:50 +01:00
snowleo
c2eb7b05b3 Restrict EssentialsTimer to 10ms execution time 2013-04-22 01:23:21 +03:00
Iaccidentally
547e262061 [FEATURE] Add kill exempt :: new permission: essentials.kill.exempt
players with essentials.kill.force and console will still be able to override this
2013-04-19 14:40:10 -04:00
GunfighterJ
fd0134227c Fix NPE on invalid enchant 2013-04-19 10:06:43 -05:00
Iaccidentally
eeb31e054f [UPDATE] Update to 1.5.1-r0.2 beta build 2013-04-16 16:59:36 -04:00
Iaccidentally
4629cad99b Clean up last commit 2013-04-16 16:16:07 -04:00
Iaccidentally
5e360995eb [FIX] Update user activity when shooting a bow 2013-04-16 15:58:13 -04:00
GunfighterJ
a72777d043 Allow permission control of stacked mobs
Adds essentials.spawnmob.stack to allow stacking of more than one mob using the /spawnmob command

Adds https://www.assembla.com/spaces/essentials/tickets/4050
2013-04-14 15:01:25 -05:00
snowleo
39d66b1c43 Changing that name too, thanks jomp16 2013-04-14 12:30:30 +03:00
snowleo
9a3295439b Threading Fix 2013-04-14 04:44:16 +03:00
KHobbits
656a40abb2 Remove duplicate perm. 2013-04-13 23:50:17 +01:00
KHobbits
7e80f440ca Check threading on backup init. 2013-04-13 23:10:09 +01:00
GunfighterJ
bac2b3f878 [Feature] pweather command 2013-04-06 16:20:12 -05:00
snowleo
8f41cc07e3 Still need that check 2013-04-06 18:40:42 +03:00
snowleo
4f033d8073 Math fail 2013-04-06 18:38:49 +03:00
snowleo
284d7a23ca Fix § at end of line 2013-04-06 18:37:13 +03:00
KHobbits
8777410d30 Balance others message. 2013-04-06 05:54:44 +01:00
KHobbits
3356db080a Fix group name when using wildcard group definitions. 2013-04-06 05:05:28 +01:00
KHobbits
d9a6974ae2 Missing file update. 2013-04-04 08:45:08 +01:00
Paul A.
11fafb5339 Merge pull request #435 from GunfighterJ/2.9
[Fix] NPE on ptime from console
2013-04-02 08:31:42 -07:00
GunfighterJ
e4b04db412 [Fix] NPE on ptime from console 2013-04-02 10:21:20 -05:00
Iaccidentally
93b76446f5 Merge pull request #431 from GunfighterJ/2.9
Show Geolocation in /seen
2013-04-01 14:20:42 -07:00
GunfighterJ
e3183e66df Show Geolocation in /seen
Refactor argument for clarity
2013-04-01 16:00:09 -05:00
KHobbits
9d1f25c455 Block sign interact if player is dead. 2013-04-01 05:23:04 +01:00
KHobbits
c093b6e7c2 Use original casing in config file group name. 2013-03-30 02:36:09 +00:00
Iaccidentally
757a41f890 [FIX] add itemframe support to remove 2013-03-29 22:20:54 -04:00
KHobbits
8427b41e30 Prevent sign healing when the player is recently dead. 2013-03-29 14:37:30 +00:00
Necrodoom
8604debc4e [Fix] Allow console to afk others 2013-03-29 03:16:18 +00:00
Necrodoom
578576e317 [Fix] Sudo allowed on vanished players. 2013-03-29 03:10:45 +00:00
Necrodoom
98aa303ff5 prevent confusion at /ci code 2013-03-29 03:04:54 +00:00
KHobbits
c857832759 Spacing. 2013-03-29 03:01:53 +00:00
KHobbits
aab6af768d Fixing casing and formatting issues in /list 2013-03-29 02:59:55 +00:00
Luuk Jacobs
386b73dbdb [Fix] Strip colourcodes from groups
This way groups with colourcodes in the middle of the name work with /who <groupname> ie. §4S§cerveradmin
2013-03-26 11:43:45 +01:00
GunfighterJ
85741288ce [Feature] Stack more mobs with /spawnmob
Uses same syntax, now supports more than 2 mobs
2013-03-22 16:35:01 -05:00
KHobbits
566a826cf1 Abort user login code, if user disconnects before it runs. 2013-03-21 22:30:02 +00:00
KHobbits
28e069eb6b Don't allow an empty list value. 2013-03-21 21:41:30 +00:00
KHobbits
44584b11c5 Tweak ess version 2013-03-21 21:12:58 +00:00
KHobbits
b8e079ddcb Add the max-walk-speed config variable back to the default config file. 2013-03-20 23:24:45 +00:00
KHobbits
353423efec Use correct getPlayer method to not match offline users. 2013-03-20 01:29:54 +00:00
KHobbits
889157371c [Permission] essentials.vanish.interact - Players with this permission will be able to interact with hidden players. 2013-03-20 01:00:50 +00:00
KHobbits
896e14670f Add some missing hidden checks 2013-03-19 23:24:06 +00:00
KHobbits
8f6c61fa99 Try to unify player matching for hidden users:
kill, lightning and ptime still need cleanup
2013-03-19 23:17:34 +00:00
KHobbits
1d6ac42311 [Fix] Reset walk/fly speed on login.
[Permission] essentials.speed.<fly|walk> - If a player only has one of these, they will only be able to toggle the given state.
2013-03-19 22:55:00 +00:00
KHobbits
61b115ceac Don't close inventories every plugin disable, just our own. 2013-03-19 21:05:12 +00:00
Necrodoom
5af1f50b65 Fix exception in /heal, "playernotfound" should be exception. 2013-03-19 20:56:50 +00:00
KHobbits
093611fb2a Use original case for default /list groups. 2013-03-19 18:34:28 +00:00
Necrodoom
cac53ab12e kittycannon should actually fire kittens 2013-03-19 14:31:34 +00:00
Necrodoom
df55e162d4 console should be able to mute admins 2013-03-19 14:09:30 +00:00
Necrodoom
ea9bf854cc [Fix] offline player matching for online only commands.
/kick,/warp, /burn & /tppos should only match online players
2013-03-19 14:07:42 +00:00
KHobbits
f5c17fc7c7 Pull the default list behavior from the old 'sort-list-by-groups' variable if it exists. 2013-03-19 09:00:50 +00:00
KHobbits
fe28faf79d Merge pull request #396 from GunfighterJ/2.9
Allow potion clear/apply commands to work
2013-03-18 16:20:45 -07:00
KHobbits
66e87bdd1c Minor code cleanup 2013-03-18 23:15:18 +00:00
KHobbits
4b5cc8cfd8 Cleanup: Run Kukes code through a dryer, add more comments. 2013-03-18 22:43:05 +00:00
GunfighterJ
8b97a84652 Allow potion clear/apply commands to work 2013-03-18 11:21:28 -05:00
KHobbits
984eca9723 Cleanup: Comment and simplify /list code - More to do. 2013-03-18 08:53:12 +00:00
KHobbits
5b55fd97e6 Cleanup - Split /list into methods 2013-03-18 08:16:34 +00:00
kukelekuuk00
0c82c61574 fixes and addition of '*' to match all unmatched users. 2013-03-18 06:16:02 +00:00
kukelekuuk00
32099a4109 Added /list [group] and some more detailed configuration regarding /list 2013-03-18 06:16:02 +00:00
GunfighterJ
ce51a07bf1 Potion erroring and duration/power fix 2013-03-18 06:14:44 +00:00
GunfighterJ
2f96ef1e97 [Fix] Potion erroring and duration/power fix 2013-03-17 13:34:10 -05:00
KHobbits
5ea1bdec56 [Fix] Restore /speed command's ability to control walk speed. 2013-03-17 06:38:24 +00:00
KHobbits
ee080e56c2 Fix raw bukkit itemdb lookup 2013-03-16 12:11:03 +00:00
KHobbits
d9a238fb80 Cleanup open inventories 2013-03-16 11:01:56 +00:00
KHobbits
3ddf883d5d Import cleanup 2013-03-16 09:19:30 +00:00
KHobbits
1111254e46 Fix potion effect errors 2013-03-16 09:13:21 +00:00
KHobbits
6185581962 Fix Minecart class rename
Lets use consistent versions in the code base
Bukkit: 1700 CB: 2648
2013-03-16 08:55:39 +00:00
KHobbits
24a9a74fd5 We use tabs not spaces for indenting. 2013-03-16 08:43:52 +00:00
KHobbits
208d673c2b Check health is 0 after /suicide 2013-03-16 08:42:24 +00:00
GunfighterJ
c8a867be38 [Feature] Additional spawnable mob types 2013-03-15 15:41:23 -05:00
GunfighterJ
96c5bebdf2 Initial 1.5 update 2013-03-15 14:54:51 -05:00
KHobbits
fa445790e7 Merge pull request #383 from necrodoom/patch-73
[fix] trying to AFK others should work now
2013-03-15 06:28:56 -07:00
Skylexia
89c1cc5503 Fixing message. 2013-03-13 20:23:01 -03:00
KHobbits
db86648b84 Fix missing console notifications on /unban and /unbanip 2013-03-12 22:26:24 +00:00
Necrodoom
e68035cc7a [fix] trying to AFK others should work now 2013-03-11 15:36:12 +02:00
KHobbits
895c14430a Fixing ban ip broadcast notification. 2013-03-11 10:33:59 +00:00
KHobbits
664fe18bbe Fix Essentials version display 2013-03-11 02:01:57 +00:00
Skylexia-PC
6b70899484 Shows IP unbans to online staff. 2013-03-10 23:41:17 +00:00
Skylexia-PC
ee7b50a014 [Feature] Broadcast unbans to online staff. 2013-03-10 03:22:35 -04:00
KHobbits
56bd973e94 Use lower locale. 2013-03-10 02:04:11 +00:00
KHobbits
9ff0571cea Protect us from npe. 2013-03-10 02:01:59 +00:00
GunfighterJ
937ef0bb85 Allow potion meta to work
Instead of denying if they have perms
2013-03-09 18:38:59 -06:00
KHobbits
45fe5f2c02 Fix TL key casing. 2013-03-09 21:41:30 +00:00
KHobbits
b1f427d52e [Fix] Allow /nick to change nickname case, without adding prefix character. 2013-03-09 14:24:19 +00:00
KHobbits
46e9471a63 [Fix] Move allowunsafe enchant perm to: essentials.enchantments.allowunsafe 2013-03-09 14:02:34 +00:00
KHobbits
4d9685e10d [Fix] Move all enchant type perms to: essentials.enchantments.<enchant>
[Fix] Move all potion effect perms to: essentials.potions.<effect>
[Fix] Move multiple potion perm to: essentials.potions.multiple
Other perms: essentials.itemspawn.meta-(firework|firework-multiple|firework-power|name|lore|head|book|chapter|chapter-<chapter>|author|title)
2013-03-09 13:56:38 +00:00
Skylexia-PC
63b2766e2b Fixing exp trading type. 2013-03-08 17:04:54 -05:00
KHobbits
6d552281d4 Allow item/item trades still. 2013-03-08 12:34:11 +00:00
KHobbits
896298a9e8 Clean up meta error messages.
Add enchant perm checks back.
2013-03-07 03:17:58 +00:00
KHobbits
7d0fafd084 Don't check people for meta perms when using kits. 2013-03-07 02:57:25 +00:00
KHobbits
32d44eb13d Merge pull request #375 from GunfighterJ/patch-15
[Feature] Adds meta permissions
2013-03-06 18:46:55 -08:00
KHobbits
c275626bee [Fix] Prevent same item type trades on signs, prevents amount confusion scams. 2013-03-07 02:42:47 +00:00