Commit graph

1250 commits

Author SHA1 Message Date
KHobbits
b5976a52e0 Prevent users from setting unsafe homes when teleport safety is disabled. 2014-07-12 16:34:18 +01:00
KHobbits
a131527a15 Switch sudo to command dispatch, this will allow vanilla commands to be executed. 2014-07-12 15:29:25 +01:00
KHobbits
97c8f5192e New permission :essentials.tp.position Required to use /tp [player] <x> <y> <z> 2014-07-06 18:41:12 +01:00
Necrodoom
7c372cd978 Add support for vanilla /tp <x> <y> <z> teleport syntax. 2014-07-06 18:41:01 +01:00
KHobbits
8e7589e450 Slightly reorder teleport messages to be less confusing. 2014-06-28 18:06:13 +01:00
KHobbits
6269ce9a3f Update essentials to support 3rd party vanish toggling. 2014-06-27 01:46:37 +01:00
KHobbits
0f6625aea9 Add some debugging to make it easier to diagnose kit errors. 2014-06-25 19:19:04 +01:00
KHobbits
dbceccaa3e Kit cleanup and refactor. 2014-06-25 19:03:31 +01:00
KHobbits
6c7ba6a76f Allow multiple kits to be spawned per command. 2014-06-23 00:38:13 +01:00
KHobbits
1f8b60081e Reduce a few nickname refresh calls. 2014-06-19 04:02:15 +01:00
KHobbits
c54e9b5dba Add default ban reason for tempban reason. 2014-06-14 22:06:26 +01:00
KHobbits
da6df89126 Add optional {2} in 'tempBanned' TL key, for reason. 2014-06-14 16:21:05 +01:00
KHobbits
2215b0f53f Don't allow old UUID's to accidentally overwrite current UUID for user mapping.
Add some extra logging and uuid debug.
2014-06-07 18:08:25 +01:00
KHobbits
9d9af25c7f Add local echo of mail being sent on /mail send. 2014-06-05 00:07:27 +01:00
KHobbits
5a2fd19bcf Fix firework recipe in /recipe 2014-06-04 16:13:20 +01:00
KHobbits
bffea1d7c8 Extend getUser(Object) to match uuid and offline players. 2014-05-30 22:16:06 +01:00
KHobbits
889dde7549 Abort transaction before updating funds on balance overflow. 2014-05-25 17:03:23 +01:00
KHobbits
c929ebb89a Convert 9 anonymous scheduled tasks to named classes for better logging. 2014-05-18 21:32:07 +01:00
KHobbits
8159530906 Fix invalid TL key. 2014-05-18 19:47:18 +01:00
KHobbits
7e8ba9a256 Exempt named mobs by default from /remove
Named mobs can be removed using /remove named
Killing all mobs now requires /remove all,tamed,named
2014-05-18 14:43:07 +01:00
KHobbits
cbaf126a25 Stop using old string player lookup. 2014-05-17 02:47:10 +01:00
Faris Rehman
ed9e4ecd28 Add user messages. 2014-05-16 20:39:49 +01:00
KHobbits
bd866de950 First draft of /condense 2014-05-16 20:30:06 +01:00
Luke Anderson (stuntguy3000)
7ba097c640 Improve messages/formatting 2014-05-10 16:03:39 +01:00
KHobbits
4575fc5aff Better handle corrupted chunks. 2014-05-04 19:39:35 +01:00
KHobbits
0364d4e0de Allow disabling userfile cache on uuid convert.
Add "ignore-userfiles-cache: true" to "upgrades-done.yml" to disable cache, forcing uuid lookup requests.
2014-05-04 13:25:20 +01:00
KHobbits
1bb569fff2 Fix attempting to spawn invalid items. 2014-04-30 05:41:42 +01:00
KHobbits
e66ad88451 Skip npc's when doing cleanup. 2014-04-29 04:42:55 +01:00
KHobbits
0557aa58b0 Switch AFK check to use UUID. 2014-04-27 01:10:44 +01:00
KHobbits
b40aa43872 Delay uuidconversion for 10s and show warning.
UUID conversion should now better handle offline conversion.
2014-04-26 23:50:12 +01:00
KHobbits
a1cdfa19b0 Fix time command exit statuses. 2014-04-24 10:24:35 +01:00
KHobbits
b6c0871daa Format /seen account history list, optimize map loading. 2014-04-18 05:57:47 +01:00
KHobbits
b080187808 Add previous account tracking to /seen 2014-04-18 04:48:34 +01:00
KHobbits
87f90e9bdd Add progress status and /ess uuidconvert command for manual conversion. 2014-04-17 02:18:28 +01:00
KHobbits
cd38aeb544 Remove Ess object from FakeServer. 2014-04-14 00:03:07 +01:00
KHobbits
9e9409da1e Essentials UUID conversion. 2014-04-13 21:40:15 +01:00
KHobbits
36e580474f Converted emulated player class calls to use base class. 2014-04-13 01:01:49 +01:00
KHobbits
10de6ac929 Cleanup 2014-04-06 15:44:37 +01:00
KHobbits
6cfb5084e1 Add local echo to tempban command. 2014-03-26 20:08:38 +00:00
KHobbits
ae1804758a Helpop should use broadcast method
Add local echo's to helpop and mute commands.
2014-03-26 20:06:01 +00:00
Necrodoom
cfe89dde17 Match /clearinventory multiple permission to /msg 2014-03-26 19:07:48 +00:00
FearFree
5724c0c8df Future Java versions may not support _ as identifier. 2014-03-22 16:08:11 +11:00
KHobbits
8fecd44786 Fix some /home errors with invalid data. 2014-03-09 17:59:07 +00:00
Luke Anderson (stuntguy3000)
077074c855 Add missing language pointers 2014-03-09 17:14:09 +00:00
FearFree
c59a204827 Remove op and replace with permission 2014-03-09 17:01:31 +00:00
KHobbits
6744b652e6 Use the absolute radius value. 2014-02-16 01:15:01 +00:00
KHobbits
c50f559512 Allow sending customtext chapters as a parameter instead of reading commandLabel 2014-02-13 22:52:14 +00:00
KHobbits
fa765d3077 Fix world argument to ignore radius, and allow for skipping radius param in syntax. 2014-02-09 22:26:54 +00:00
KHobbits
6174e4a98b Code cleanup and remove remote skull edit. 2014-02-08 01:23:54 +00:00
Luke Anderson (stuntguy3000)
5c74af42a3 Add /skull command 2014-02-08 00:25:34 +00:00
Iaccidentally
518650e842 Modifier order consistency 2014-02-04 11:11:43 -05:00
KHobbits
63300866f9 Fixed argument count for meta parsing. 2014-02-02 18:56:45 +00:00
KHobbits
882ebae257 [Breaking] Add exception when players have exceeded their account limit.
This might effect some plugins which hook Essentials for economy without using the API
2014-02-02 16:07:32 +00:00
Iaccidentally
18b31a7e50 [FIX] Print a proper error when using tpaccept with no requester 2014-02-01 16:49:54 -05:00
KHobbits
f39ef36115 Fix hidden groups in /list 2014-01-14 21:55:30 +00:00
KHobbits
eee18f40be Pass optional location parameters to teleport TL keys. 2014-01-12 01:23:12 +00:00
Adam
8c882a5268 Reset Exhaustion on /feed 2014-01-08 01:07:38 +00:00
KHobbits
3fecd3138d Check command cost, before running kit delay check, prevent accidentally delaying unran commands. 2014-01-03 08:16:17 +00:00
KHobbits
46691871ad Add permission: essentials.msg.multiple and essentials.pay.multiple
Message permission will allow rough nick matches and wildcards, while pay will only allow wildcards.
2013-12-28 22:37:36 +00:00
KHobbits
23d2ffb134 Add {4} to homeSet TL key, this contains the name of the home being set. 2013-12-21 23:30:12 +00:00
KHobbits
bcd5350a4d Add extra /home message TL params
{1} = current home count
{2} = max home count
2013-12-21 17:42:55 +00:00
KHobbits
427b97433e Logger cleanup pt 1. 2013-12-07 20:03:05 +00:00
KHobbits
5b64c31e86 Show warning when invalid mob type is specified for /remove 2013-12-07 19:03:29 +00:00
KHobbits
723e458a81 Remove requires at least one argument. 2013-12-07 18:46:25 +00:00
TheReverend403
3839b6f1f5 Code cleanup 2013-12-05 23:06:04 +00:00
KHobbits
c57c791e69 Cache join/quit messages. 2013-12-05 23:03:33 +00:00
KHobbits
dde8cd8f72 Merge remove and killall command, thanks to @Evonuts and @Iaccidentally. 2013-12-05 23:03:33 +00:00
KHobbits
e411f61296 Update to first build of 1.7.2 - CraftBukkit is still buggy so expect issues
Bukkit: #1856 CB: #2922
2013-12-05 23:03:32 +00:00
Joseph Jenniges
8146858ee0 Fix logic error with /kickall in console 2013-11-17 10:04:36 -06:00
snowleo
9b4e6e5dc6 Fix fromIndex = -20 2013-11-15 20:06:16 +01:00
Iaccidentally
82be7546d5 Tidy up Commandremove a bit, thanks to Evonuts 2013-11-10 23:25:42 +00:00
Iaccidentally
f400f81e4d Add more functionality to the remove command. This now overlaps some functionality of the killall command, which should eventually be merged into this command and removed. new options: hostile, monsters, passive, animals, ambient, mobs, entities 2013-11-10 23:25:34 +00:00
KHobbits
5d1ea4aa88 Allow ignore to block tpahere requests. 2013-11-09 04:08:25 +00:00
Iaccidentally
3e725ef060 Cleanup various aspects of code, fix some formatting, more netbeans 7.4 stuff 2013-11-06 21:22:32 -05:00
FearFree
ae89c80d4e Clarify no perm msgs for missing .offline perms
Signed-off-by: KHobbits <rob@khobbits.co.uk>
2013-10-28 00:10:33 +00:00
KHobbits
7436009ea4 Clarify message when ignoring exempt players. 2013-10-27 23:53:24 +00:00
Chris Ward
1164bbd90d [Fix] Allow someone to change their nick to different case of the same thing 2013-10-19 12:19:40 +01:00
Chris Ward
4ea629628d Use a player's real name in /balance if they are vanished 2013-10-19 12:19:40 +01:00
Chris Ward
97d176ea27 Make looping commands see vanished players properly
Make /r check player existence in the correct order
2013-10-19 12:19:39 +01:00
Chris Ward
50a9b5718c Fix double messages in targeted commands 2013-10-19 12:19:37 +01:00
Chris Ward
298e677373 Fix /r 2013-10-18 17:23:27 +11:00
KHobbits
64e089e15b Cleanup 2013-10-18 00:07:35 +01:00
KHobbits
be31b1695d Restore getUser API 2013-10-18 00:07:34 +01:00
KHobbits
6f85761f7f Extract CommandSender to CommandSource, this should prevent Ess user object leaks. 2013-10-16 21:05:33 +01:00
KHobbits
cf9d79d24c Strip nickname prefix when doing displayname comparison. 2013-10-16 20:54:23 +01:00
KHobbits
59b501b2b1 Clean Imports 2013-10-11 03:44:41 +01:00
KHobbits
9e20f556e1 Allow for event based test cases. 2013-10-11 03:34:41 +01:00
Iaccidentally
375caa6f9e implement GodStatusChangeEvent 2013-10-11 03:14:51 +01:00
KHobbits
cfa367dfc3 Allow recolouring own name. 2013-10-05 05:34:33 +01:00
KHobbits
e1ff3542ae Cleanup 2013-10-05 03:27:40 +01:00
KHobbits
4951c204d2 Improve nick validation
Now matches nicks against userdata for conflicts
Now checks for empty string nicknames
2013-10-05 02:31:19 +01:00
KHobbits
122232a0e7 Add more API template and implement nick change event. 2013-10-05 02:11:39 +01:00
KHobbits
03368e45df Extract user match looping 2013-09-28 21:33:22 +01:00
Luke GB
e6b76cadbc Adds even more clarification to metrics opt-out 2013-09-25 00:22:11 +01:00
drtshock
e853199d90 Format to the format with the formatter. 2013-09-24 09:38:30 +01:00
drtshock
f7f7c2a68b Ignore list and no tpa to self. Fixes ESS-4456 ESS-4711
List users that you ignore when no arguments are given. Otherwise state
that no players are ignored.

Don't allow users to tpa or tpahere themself. This is a problem with
people "glitching" with how essentials finds a safe location to get
inside of places they shouldn't.
2013-09-24 09:38:29 +01:00
Chris Ward
6094485992 Cleanup 2013-09-18 22:22:56 +10:00
KHobbits
3963a528b3 Fix handling max warp pages. 2013-09-10 01:42:11 +01:00
KHobbits
0a17489c9c Clarify kit errors 2013-09-05 15:40:43 +01:00
KHobbits
c056ba0059 Properly handle negative /clear amounts. 2013-09-04 06:35:53 +01:00
Pocketkid2
9908eb0619 Use Tamed instead of horse/ocelot/wolf 2013-08-31 19:36:41 +01:00
KHobbits
62b4348842 Don't waste cpu on /baltop if eco is disabled. 2013-08-28 18:00:27 +01:00
KHobbits
cf79daddde Add support for {PLAYERLIST:GROUP} AND {PLAYERLIST:GROUP:<none>}
Replace <none> with what you want to show if there are no players from that group online.
2013-08-20 23:39:34 +01:00
KHobbits
a06a81c15d New command /customtext - This command is intended to be used with bukkit.yml aliases to make custom commands. 2013-08-19 21:37:33 +01:00
KHobbits
543672a2a8 Reset fall distance when toggling fly so fall damage is not accidentally applied. 2013-08-18 22:43:43 +01:00
KHobbits
8cba8da516 Fix a few issues with /list and group formatting. 2013-08-18 22:08:57 +01:00
KHobbits
3b8df2d18e Fix feed cooldown bypass permission:
Permission: essentials.feed.cooldown.bypass
2013-08-18 21:05:45 +01:00
KHobbits
b8cdd7d1f7 Fix NPE in /kill when used from console. Thanks Necrodoom 2013-08-18 21:04:19 +01:00
KHobbits
92a2244650 Add muting offline players
Permission: essentials.mute.offline
2013-08-18 21:02:47 +01:00
KHobbits
ffae86dd42 Use user object to send messages when possible. 2013-08-15 01:53:22 +01:00
KHobbits
66eb9202ce Fix mail sendall from console skipping first param 2013-08-13 22:01:13 +01:00
Pocketkid2
794dd788a3 Update Commandremove.java
Fix class checking in /remove
2013-08-13 18:14:40 +01:00
KHobbits
1ac5b4230e Teleport cleanup 2013-08-13 18:06:24 +01:00
GunfighterJ
a3cae43f9f Fix NPE in /back when no previous location exists 2013-08-13 11:46:52 -05:00
KHobbits
d329d27a4f Restore safe location for /top 2013-08-13 00:55:31 +01:00
KHobbits
09e8b87650 When in fly+god mode or when in creative mode, don't use safe teleport location when teleporting to other players.
Enable fly in unsafe circumstances.
This only works when teleporting within worlds for permission reasons.
2013-08-11 22:42:29 +01:00
KHobbits
fb9fc579d0 Allow toggling vanish for other players
Permission: essentials.vanish.others
2013-08-11 21:48:30 +01:00
KHobbits
8b11b870b1 General cleanup.
Add optional TL param for tempban/mute time in notify message
2013-08-11 21:34:26 +01:00
KHobbits
7401608cc5 The /tpahere command now stores the location of 'here' rather than using the current players location.
Cleanup teleport logic - This also fixes exploiting /tpahere to get accesses to restricted areas.
2013-08-11 16:37:21 +01:00
Necrodoom
0d9db22d81 display syntax if more than one argument to avoid confusion with command purpose
more clearly, show syntax when people try to do /money give playername amount
2013-08-05 16:04:28 +01:00
Pocketkid2
c15540862d Update Commandkillall.java
Add support for horses
2013-07-29 21:40:52 +10:00
GunfighterJ
eb22254564 Close inventories before opening any others 2013-07-24 16:01:17 -05:00
KHobbits
3cfde70ec6 Use the correct name in /sethome if you don't have sethome.others permission. 2013-07-23 23:39:44 +01:00
KHobbits
298da19334 Fix max radius. 2013-07-21 00:04:04 +01:00
KHobbits
c1e39c7007 Show if a IP is ip-banned on /seen <ip> 2013-07-19 02:25:50 +01:00
KHobbits
59515aed94 Cleanup worth and sell messages 2013-07-19 00:55:21 +01:00
snowleo
4eef8b5e84 Can't sell negative amount of items. 2013-07-19 01:01:52 +02:00
KHobbits
ba6fd95247 Fix radius logic 2013-07-15 23:15:35 +01:00
Necrodoom
419f51636a Max near radius 2013-07-15 23:10:55 +01:00
KHobbits
f6f71126a1 Add missing param in /remove 2013-07-15 02:43:23 +01:00
KHobbits
00463a7899 Try to restore basic api functionality 2013-07-14 13:00:03 +01:00
KHobbits
0d2dea41e3 Fix worth display bug 2013-07-14 12:09:49 +01:00
KHobbits
29ea24f715 Throw syntax error instead of "For input string" 2013-07-14 01:07:59 +01:00
KHobbits
a14104c529 Add support for /worth all and /worth hand 2013-07-14 01:03:08 +01:00
KHobbits
5eb3d9fa42 Wrap ItemDb accessors and move Item string matching to itemdb class. 2013-07-13 18:52:53 +01:00
Iaccidentally
dad348d3d0 [API] Move 2.x API to new package, create dummy classes for compatibility 2013-07-13 11:14:39 -04:00
Necrodoom
ab359f678a fix mute message when chatting
deny /mail if muted
2013-07-12 15:22:48 +01:00
KHobbits
d858555263 Don't cast sender to User. 2013-07-11 09:20:52 +01:00
KHobbits
72fd893733 Prevent speed from hitting absolute zero. 2013-07-11 08:58:22 +01:00
Iaccidentally
2ad346e84c [FEATURE] Add configurable max nick length 2013-07-10 10:48:14 -04:00
KHobbits
3377e3483d Fix user comparison. 2013-07-09 09:08:26 +01:00
KHobbits
1abacf00df More cleanup 2013-07-07 13:02:40 +01:00
KHobbits
3d29248ace Misc cleanup 2013-07-07 12:38:01 +01:00
KHobbits
3f5e2ad85a Whoops, we shouldn't be leaking the user object. 2013-07-07 11:51:12 +01:00
GunfighterJ
d0795fc3e7 Update Essentials for Bukkit 1.6.1-R0.1-SNAPSHOT 2013-07-01 21:38:27 -05:00
KHobbits
db234b9837 Force repair inventory refresh. 2013-06-28 14:14:43 +01:00
Necrodoom
cfc6ed9364 fix socialspy toggles 2013-06-26 09:56:56 +03:00
Sahir
f26466831a Changing a spawner should update its BlockState. 2013-06-25 17:07:43 +04:00
KHobbits
a15e0b3875 [Feature] Expand /ci to allow removing certain amounts, and breakdown on the items removed. 2013-06-22 17:36:35 +01:00
KHobbits
52ba151b81 Clean up exception types. 2013-06-22 16:33:22 +01:00