md678685
19cffe3872
Restore ID-based charges in /repair
2018-12-31 11:39:08 +00:00
md678685
3b1cef918e
Simplify item spawn permission checks; restore ID-based item spawn perms
2018-12-31 11:29:27 +00:00
pop4959
64930e3771
Fix messages & add warning
2018-12-21 01:58:44 -08:00
pop4959
16381234e0
Implement tpauto command
2018-12-19 02:50:30 -08:00
md678685
d95b632884
Merge branch '2.x' into 1.13
2018-12-11 14:31:42 +00:00
md678685
579f554edb
Update nickname again after toggling AFK status
2018-12-11 13:26:15 +00:00
md678685
6a6383462d
Allow admins to force enable /recipe if they want
...
Add `force-enable-recipe`, which allows server admins to manually enable `/recipe` despite potential duplication exploits. Use this at your own risk!
Related: #1397
2018-12-08 16:41:24 +00:00
md678685
6ee84510ea
Update bStats-Metrics
2018-12-06 17:49:08 +00:00
md678685
6ecdc8d7fc
Enu-moo-til
2018-12-06 17:44:22 +00:00
md678685
35a2a4d803
Add several version warning messages
2018-12-06 17:41:32 +00:00
md678685
41b2449cdd
Change /enchant's default level from -1 to 1
2018-11-19 21:11:25 +00:00
md678685
19b1e19e42
Remove extraneous imports
2018-11-19 19:30:35 +00:00
montlikadani
a2a95ed840
Added acacia and dark oak tree types ( #2001 ) @montlikadani
...
* Update Commandbigtree.java
* Update Commandbigtree.java
* Update Commandtree.java
2018-10-28 18:41:46 +00:00
md678685
010981d3c8
Remove ID-based charges in /repair
2018-10-15 13:51:04 +01:00
md678685
3353061e76
Remove ID-based permission checks in /more
2018-10-15 13:49:16 +01:00
md678685
79bc34047b
Allow multiple item names in /clearinventory
...
Allow a comma-separated list of item names in /clearinventory.
2018-10-15 13:46:12 +01:00
md678685
60c90408e7
Remove ID-based permission checks in /give and /item
2018-10-15 13:16:10 +01:00
md678685
6906ef2154
Merge branch '1.13' into 1.13-items
2018-10-13 16:59:57 +01:00
md678685
f78887a02e
Remove item IDs from /itemdb
2018-10-13 15:59:25 +01:00
mathias
a9fe842242
Use chat instead of dispatchCommand
2018-09-18 16:39:58 +03:00
pop4959
0432546746
use less dependencies
2018-09-04 16:53:01 -07:00
pop4959
3395bab928
Sort /near by nearest player.
2018-09-02 23:09:22 -07:00
pop4959
a3eb58724f
Add a way to use unsafe nicknames ( #2152 ) @pop4959
...
Pretty much what the title says. Closes #1630 .
This is a fun little feature that I'm sure many people have always wanted. I can understand that the original authors of Essentials were probably concerned about users entering names that cannot display correctly in the chat, and that is understandable.
I have added a new permission "essentials.nick.allowunsafe", which must be given to anyone who is allowed to use characters outside of the alphanumeric set. The name of the permission is inspired from "essentials.enchantments.allowunsafe", which allows unsafe enchantment levels to be applied to items without guaranteed behaviour. Similarly, the permission "essentials.nick.allowunsafe" allows unsafe characters to be entered for the user's nickname without making any guarantee that those characters will show up in chat correctly.
2018-09-02 12:14:26 +01:00
md678685
6c9c9ad42a
Use enum methods throughout plugin for cross-version enum lookups
2018-09-01 10:35:08 +01:00
md678685
d1d5ae814f
Merge branch '2.x' into 1.13
2018-08-27 20:01:01 +01:00
md678685
634d62f9ef
Fix typo in /kickall
2018-08-27 10:30:29 +01:00
md678685
2806156cf4
Add "allow-world-in-broadcastworld" option
...
Allows players to send broadcasts to a specified world by running `/broadcastworld [world] <message>` if enabled.
This is disabled by default in old configs to avoid confusion between updates.
2018-08-27 10:26:54 +01:00
md678685
e642192461
Kick players in /banip
...
The four-year-old to-do has finally been done!
Closes #2143 .
2018-08-26 22:54:00 +01:00
md678685
959c788f22
Don't kick exempt players when running /kickall
2018-08-26 21:03:17 +01:00
montlikadani
cda520589a
Revert "Doesn't kick all players if the player has permission ( #2145 ) @montlikadani"
...
This reverts commit 5c1db129d3
.
2018-08-26 20:59:46 +01:00
montlikadani
5c1db129d3
Doesn't kick all players if the player has permission ( #2145 ) @montlikadani
...
So, if a player has permission (eg, an operator or more), they will not kick them out because of permission.
2018-08-26 20:13:05 +01:00
Xeyame
f97c5fc1ff
Make /realname configurable ( #1952 ) @Xeyame
...
Closes #1810 .
@md678685: I've added colour codes to the `realName` messages by default, which was not originally part of this PR.
2018-08-26 15:39:37 +01:00
montlikadani
81397d98b8
Added editable messages ( #2072 ) @montlikadani
...
**If it is accepted then I will add it to the other message files.**
2018-08-26 15:17:07 +01:00
md678685
bad02729db
Allow /eco take to subtract a user's exact balance
2018-08-24 15:42:17 +01:00
md678685
52d814f2cc
Properly fix inaccurate playtime measurement
...
b848d8ce63
2018-08-15 15:26:11 +01:00
md678685
5009b3b545
Revert "Fix playtime calculation"
...
This reverts commit 4e165d375c
.
2018-08-15 15:15:30 +01:00
md678685
4e165d375c
Fix playtime calculation
2018-08-14 19:29:28 +01:00
md678685
1ddb1822ef
Merge branch '2.x' into 1.13
2018-08-05 23:02:11 +01:00
Ali Moghnieh
768b92749f
update bukkit to 1.13-R0.1-SNAPSHOT.
...
This commit just fixes compilation errors.
2018-07-29 17:39:32 +01:00
md678685
8aa764f69f
Check whether nick equals "off" before formatting
...
Fixes #1910 .
2018-06-15 19:41:56 +01:00
FlashLight34
817caf299f
setwarp owner uuid in yml file ( #1961 ) @FlashLight34
...
* Update Warps.java
its not a real change i dont know if user.getuuid() exist or onother possible cmd maybe
* Update Warps.java
* Update Commandsetwarp.java
* Update Warps.java
* Update Warps.java
* Update Commandsetwarp.java
* Update Warps.java
* Update Warps.java
* Update Commandsetwarp.java
* Update Warps.java
2018-05-26 20:42:51 +01:00
montlikadani
2ff29dab80
Update Commanddeljail.java ( #2002 ) @montlikadani
...
When the user entered a word to delete the jail, deleted it, but removed anything because no jail existed.
2018-05-26 20:40:45 +01:00
Joseph Hirschfeld
b29f98c525
[Feature] Add world specific /back dest. perms ( #1948 ) @Ichbinjoe
...
Adds world specific perms for whether a player may use /back to teleport
back to a given world. Adds logic to default
essentials.back.into.<world> permissions for loaded worlds to true to
maintain backwards compatibility.
2018-04-29 15:49:49 +01:00
Xeyame
7adb931ea8
Expand /exp command
2018-04-02 14:29:43 +02:00
Johnny Cao
d3c4c2ba6a
Fixes #1866 ( #1867 )
2018-03-20 21:51:16 -07:00
Max Lee
95ac4a4853
Extra permissions for /seen and /whois information ( #735 )
...
* Implemented separate permissions for seen extras
* Add an extra permission to the whois command too.
IPs are sensitive information that should only be accessible to an as small as possible amount of people
2018-03-20 21:50:42 -07:00
Luck
0d5da063fb
Upload createkit configs to hastebin instead of GitHub Gist ( #1916 )
2018-03-20 21:42:12 -07:00
md678685
4e8e7bec3f
Add /ess version subcommand ( #1514 )
2018-03-06 19:25:51 -08:00
md678685
983f3a7935
Clear item in offhand slot in /clearinventory
...
GitHub fancy things: Fixes #950 . Fixes #1426 . Fixes #1834 .
2018-02-10 16:03:56 +00:00
Johnny Cao
fb5ebdb0c2
Fixes #1637 : Correctly handle /mail permissions ( #1743 ) @AgentTroll
...
Fixes #1637
/mail stripped colors from the entire message before as reported by the issue. The desired fix was to only strip the color from the sent message rather than from the entire message format (e.g. prefixes coming before the message itself).
Fixed by formatting only the message before passing it to the localization.
Also had a minor issue with FormatUtil in which it failed to strip ampersand (&)-formatted color codes, which was amended by stripping both VANILLA_*_PATTERN as well as REPLACE_*_PATTERN in FormatUtil#formatString(...). It's not necessary to actualy strip any vanilla (i.e. section-prefixed) color codes since that's already done by FormatUtil#stripFormat(String), but I'd like to keep the changes as non-invasive as possible at the current moment.
Demo: git-Spigot-d20369f-7fc5cd8 (MC: 1.9) (Implementing API version 1.9-R0.1-SNAPSHOT)
https://streamable.com/umyi8
This is my first time contributing so please be gentle :)
2018-01-29 18:01:20 +00:00
md678685
16a496c706
Fix args order in GodStatusChangeEvent ( #1790 )
...
Fixes #1107
2018-01-22 21:01:12 +00:00
MD678685
71d50f4e1e
Properly rename CommandDisposal
2018-01-22 14:56:17 +00:00
md678685
8a815b42d3
Fix disposal command class name
...
Fixes #1791 .
2018-01-22 14:16:11 +00:00
Mitchell Cook
d69e3a2f48
[Feature] Added disposal command. ( #1729 ) @Mishyy
...
Added a portable disposal menu.
Closes #1721 , and also closes #310 .
2018-01-22 12:58:00 +00:00
md678685
e38b15531d
Add jailList and noJailsDefined to messages and Commandjails ( #1732 )
...
* Add jailList and noJailsDefined to messages and Commandjails
* Sort message keys alphabetically
2018-01-22 09:20:31 +00:00
Taylor
5f7d226158
Merge pull request #17 from delbertina/mutes385test
...
Sorted messages files with the -f option and other tweaks ...
2018-01-21 17:02:26 -06:00
delbertina
0897ca57ff
Removed redundant line in mute time try-catch.
2018-01-20 22:46:55 -06:00
Trent Hensler
ace361af60
Compile against 1.13 preview.
...
Still a lot of work to do. One thing to note is that I used LEGACY materials in a few spots where I didn't know what the new ones are as I'm not very familiar with the 1.13 update and what it changes.
2018-01-18 17:52:44 -08:00
Trent Hensler
cd43355d4c
Move kits to kits.yml ( #1774 )
...
* Move kits to kits.yml
We will now use a separate kits.yml file.
Any kits that were defined in the config.yml will be migrated over to the kits.yml file automatically on startup.
2018-01-18 00:25:00 -08:00
CreedTheFreak
b096ee9703
Merge remote-tracking branch 'delbertina/mutes385test' into final_mute_reason_issue#385
...
Merged changes into local branch for pushing up to the pull request of
mute reason.
2018-01-16 17:49:49 -08:00
CreedTheFreak
b8df59ae46
Updated the former pull request to include the specified formatting changes, and small edits to the hasMuteReason and Commandmute dealing with the muteReason. I also included the ability to see the mute reason from the seenOffline method which is identical to the seenOnline code.
2018-01-16 18:21:31 -06:00
delbertina
98f42c6974
Added reason stuff to msg command and deleted reference line in seen command. Oops!
2018-01-16 18:16:34 -06:00
delbertina
db19788e21
Added 8 new messages for "...Reason" versions of mute messages and implemented em.
2018-01-16 18:16:33 -06:00
delbertina
67d17472e0
Fixed logic error in hasMuteReason and errors being thrown from seen and whois.
2018-01-16 18:04:22 -06:00
delbertina
b5a6df4fe2
Added space when adding reason to string.
2018-01-16 18:04:21 -06:00
delbertina
290379651d
Added space when adding reason to string. Dirty :/
2018-01-16 17:59:14 -06:00
delbertina
6ffbb86169
Changed if else blocks to ternary operators. Not sure if way to avoid weird empty string usage.
2018-01-16 17:54:50 -06:00
delbertina
7aad95ec08
Changed muteFormat to muteReason.
...
Removed space at beginning of muteReason.
2018-01-16 17:54:49 -06:00
delbertina
574e1bc1e7
Fixed easy style issues.
2018-01-16 17:48:12 -06:00
delbertina
fc590f82a2
Added check to display mute reason when notifying
2018-01-16 17:48:10 -06:00
CreedTheFreak
c8cb9b3735
fixed some wonky commit thing that happened, thus the following modifications are brought to you by Delbertina.
2018-01-16 17:21:54 -06:00
CreedTheFreak
9378df0ff2
Started work on implementing the mute reason, and decided to write it to the UserData just like the Ban and TempBan reasons
2018-01-16 17:21:52 -06:00
Johnny Cao
87c6672212
Add ignore check for /me ( #1768 ). Resolves #1767
2018-01-16 12:33:35 +00:00
Ali Moghnieh
b6aea0a5f8
Fix splash potion support for /potion
. Resolves #1166
2018-01-07 02:22:31 +00:00
Drew Mitchell
50e2d27d5b
Fix NPE in /clearinventory. Fixes #1755 ( #1756 )
...
Issue was a NullPointerException due to senderUser not being null-checked. I opted to place the couple of lines of code into the sender.isPlayer() check as opposed to null-checking.
2018-01-07 01:45:19 +00:00
CreedTheFreak
822315a279
Updated the former pull request to include the specified formatting changes, and small edits to the hasMuteReason and Commandmute dealing with the muteReason. I also included the ability to see the mute reason from the seenOffline method which is identical to the seenOnline code.
2017-12-26 16:09:46 -08:00
CreedTheFreak
732da86710
Merge remote-tracking branch 'magnarisa/final_mute_reason_issue#385' into mute_reason_changes
...
Updated a clean branch with the changes we have made so far.
2017-12-26 08:23:53 -08:00
Drkmaster83
9dc58948b2
Implements PR#1516 - TPPos World-Teleport Permissions
...
https://github.com/EssentialsX/Essentials/issues/1516
Considerations:
• TPPos on a target doesn't consider the target's world access permissions, reminiscent of the TP A to B command.
2017-12-25 01:08:08 -06:00
delbertina
ff37ef3bc5
Added reason stuff to msg command and deleted reference line in seen command. Oops!
2017-12-24 00:03:36 -06:00
delbertina
3d33bbc33d
Added 8 new messages for "...Reason" versions of mute messages and implemented em.
2017-12-20 00:35:51 -06:00
delbertina
e3ee9cb4c7
Fixed logic error in hasMuteReason and errors being thrown from seen and whois.
2017-12-18 20:37:34 -06:00
delbertina
034ffbd0bc
Added space when adding reason to string.
2017-12-17 00:16:06 -06:00
delbertina
127a7bb2ce
Merge branch 'mutes385' of https://github.com/delbertina/Essentials into mutes385
...
Updated local copy
Conflicts:
Essentials/src/com/earth2me/essentials/commands/Commandafk.java
Essentials/src/com/earth2me/essentials/commands/Commandmail.java
Essentials/src/com/earth2me/essentials/commands/Commandme.java
Essentials/src/com/earth2me/essentials/commands/Commandr.java
Essentials/src/com/earth2me/essentials/commands/Commandseen.java
Essentials/src/com/earth2me/essentials/commands/Commandwhois.java
2017-12-17 00:02:52 -06:00
delbertina
e8bfac0790
Added space when adding reason to string. Dirty :/
2017-12-16 23:26:09 -06:00
Trent Hensler
1a820ad9b7
Initial removal of item IDs.
...
We do not rely on Bukkit's item ids anymore, though we still support them in commands via a mapping built off of the items.csv.
2017-12-12 22:06:25 -08:00
delbertina
849b329213
Changed if else blocks to ternary operators. Not sure if way to avoid weird empty string usage.
2017-12-02 20:35:44 -06:00
delbertina
43cbab37f0
Changed muteFormat to muteReason.
...
Removed space at beginning of muteReason.
2017-11-26 01:32:22 -06:00
delbertina
6f7af90488
Fixed easy style issues.
2017-11-26 00:55:05 -06:00
md678685
3a6f04e461
Fix Commandclearinventoryconfirmtoggle class
2017-11-15 18:17:29 +00:00
Ali 'SupaHam' M
f8ddb50140
Rename Commandclearconfirmtoggle.java to Commandclearinventoryconfirmtoggle.java
2017-11-13 12:46:15 +00:00
Ali 'SupaHam' M
be076509f2
Implement clear confirmation ( #1623 )
...
Introduces:
- `clearinventoryconfirmtoggle` command with shorter aliases
- `confirmClear` boolean in UserData
2017-11-12 16:44:53 +00:00
Ali 'SupaHam' M
c14d565b56
Support mail chat formatting via essentials.mail
base permission. ( #1611 )
...
`essentials.mail.url`, `essentials.mail.color`, etc.
2017-10-29 01:16:04 +00:00
CreedTheFreak
f8ea7f5e1f
Implemented the ability to add a reason while muting a
...
player. The form of the mute is /mute [Player] [Time] [Reason] or /mute
[Player] [Reason] or /mute [Player] [Time] or /mute [Player]. These are
the various forms of the mute command and acts exactly like the old
command just with a reason.
The final adjustments to the MuteReason
2017-09-16 22:27:34 -07:00
delbertina
b0205b9499
Added check to display mute reason when notifying
2017-09-03 23:02:56 -05:00
CreedTheFreak
f10a766442
fixed some wonky commit thing that happened, thus the following modifications are brought to you by Delbertina.
2017-09-03 19:49:57 -07:00
CreedTheFreak
3512c4c8e6
Started work on implementing the mute reason, and decided to write it to the UserData just like the Ban and TempBan reasons
2017-09-02 20:04:25 -07:00
flcmc
1562a8f3ca
Implement tab completion for seen and whois. ( #1440 )
2017-08-12 14:42:57 +01:00
Ali Moghnieh
51f2a04958
Fix import errors.
2017-08-04 16:26:57 +01:00
md678685
05d2b6ccda
Fix 1.12.1+ NSME in /lightning
2017-08-04 12:08:55 +01:00
md678685
ec61ffcaad
Fix 1.12.1+ NoSuchMethodError in /break ( fixes #1438 )
2017-08-04 12:08:40 +01:00