Commit graph

4398 commits

Author SHA1 Message Date
speed
8204224300 Merge branch 'pr/1' into 1.16 2020-12-12 15:24:01 -05:00
speed
6a19d40112 pls resolve 2020-12-12 15:01:17 -05:00
Josh Roy
ef1202923e
Fix command handler not finding dynamically registered commands (#3816)
Fixes #3815.
2020-12-12 13:50:34 +00:00
Olivia
e1e98f5048
Add /warpinfo command (#3820)
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com>
2020-12-11 16:38:10 +00:00
Josh Roy
43eff69a2f
Fix incompatibility on TacoSpigot and derivatives (#3817)
The countless support tickets from users of TacoSpigot (and forks of it)
have become so numerous it's not worth holding our ground on this. Taco fucked up
by going against upstream revision numbers, but as they're defunct, it's not
going to change now. We will not fix server implementations that do this in the
future, but hopefully they have all learned their lesson to use proper
versioning. The way md_5 intended.
2020-12-11 16:31:40 +00:00
Roman Zabaluev
450da59057
Allow console name to be translated (#3700)
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>

Closes #2756. 

Notes:
- I've kept original name for internal purposes (storing bans, etc), just in case user wants to rename it to something unbearable;
- User can message console via both names (since he can try both, duh);
- Some refactoring. Just a little.
2020-12-11 16:29:48 +00:00
speed
8e65579350 refactor 2020-12-04 11:26:51 -05:00
Josh Roy
dda4d58a23
Move paperlib off snapshot (#3808) 2020-12-02 19:44:35 +00:00
MD
2342d53dba Revert Spanish translation spam 2020-11-30 16:33:24 +00:00
Flask Bot
8c4fb3fefb
New Crowdin updates (#3793) 2020-11-28 11:10:49 +00:00
MD
2ce5797d5e Update metrics warnings 2020-11-26 12:26:08 +00:00
MD
63c29a318e Implement missing FakeWorld methods 2020-11-26 00:42:26 +00:00
Josh Roy
9a23f806fe
Refactor Project to Gradle (#3720)
Gradle is better than Maven, don't @ me. okay but actually it's [faster](https://www.youtube.com/watch?v=atuFSv2bLa8&feature=youtu.be&t=77), compiles and tests in parallel more efficiently, and more epic stuff).
2020-11-25 20:24:24 +00:00
powercas_gamer
82b466db0b
update website links in config.yml (#3779)
Updates the website links in the config.yml to `essentialsx.net` instead of `essentialsx.cf`
2020-11-18 10:23:45 +00:00
Telesphoreo
ab32000b3a
Merge https://github.com/EssentialsX/Essentials into 1.16 2020-11-16 19:21:24 -06:00
JRoy
a6edf04a60 Release 2.18.2 2020-11-16 11:32:40 +00:00
Josh Roy
3ba675a899
Allow users to modify existing homes when over homes limit (#3776)
Fixes #3761
2020-11-15 17:40:34 +00:00
pop4959
1fed7a9a3a
Fix tab completion for delhome (#3775)
There was a minor issue with one line of code in delhome which was causing the user's homes not to be listed since the condition was effectively reversed. This was also causing an NPE for console senders attempting to tab complete.

Fixes #3774
2020-11-14 22:50:48 +00:00
Kenichycmd
80fb91b6d7
Fix /clear <player> <item> not clearing offhand (#3715)
Co-authored-by: Kenichycmd <kenichycmd@gmail.com>
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com>
2020-11-09 16:43:55 +00:00
Josh Roy
5b0c2a4131
Use ray-tracing based target block for 1.13.2+ (#3763)
Uses new method of ray-tracing to target block instead of using BlockIterator which doesn't respect the player looking at a different y-level. Falls back to old BlockIterator method on server versions older than 1.13.2

Fixes #3756.
2020-11-09 16:38:02 +00:00
Josh Roy
bb43e8f7b6
Add option to prevent replying from vanished players (#3703)
Closes #2066
2020-11-09 12:25:16 +00:00
Josh Roy
4d9a10147a
Split backup command by space (#3762)
Splits command sent to ProcessBuilder by spaces. Fixes backup commands with arguments

Fixes #3759
2020-11-09 08:52:35 +00:00
Josh Roy
ea4f5cf919
Update to 1.16.4 (#3753) 2020-11-02 13:36:48 -08:00
Telesphoreo
356469cd6f bruh 2020-10-28 15:11:07 -05:00
Telesphoreo
c1ac28111e Fix back on other players 2020-10-28 15:09:21 -05:00
Telesphoreo
e7aeb5a5d7 Merge https://github.com/EssentialsX/Essentials into 1.16 2020-10-28 15:07:08 -05:00
Josh Roy
80e7558fc0
Move some tab complete messages to debug mode only (#3739) 2020-10-22 12:15:02 -07:00
md678685
9cda59511e Consolidate permissions default setup into single class 2020-10-19 21:27:05 +01:00
md678685
c12a031918 Add more specific platform support messages 2020-10-19 21:26:38 +01:00
Alexander Söderberg
a4f580e319
Make HelpInput use the known command map (#3675)
Co-authored-by: MD <1917406+md678685@users.noreply.github.com>

This PR makes HelpInput use knownCommands in the command map, rather than relying on plugin descriptions. This means that commands that have been registered programmatically (or impromptu) will be recognized and displayed in the help menu.

The ugly reflection is due to Spigot not exposing the command map getter. This has been tested on Spigot 1.8, 1.16.3 and Paper 1.16.3 with plugins that register commands directly to the command map.
2020-10-19 15:27:40 +01:00
md678685
583bf88207 Implement ConsoleCommandSender methods 2020-10-19 15:06:50 +01:00
montlikadani
a5f8e83e03
Remove redundant checks in the tree command (#3716) 2020-10-13 00:47:12 -07:00
Telesphoreo
ad52fc95e1 Update Commandhome.java 2020-10-12 20:51:11 -05:00
Telesphoreo
bb52798bfe i HATE essentials 2020-10-09 23:13:11 -05:00
Telesphoreo
a41db523ed fuck tests 2020-10-09 22:34:30 -05:00
Telesphoreo
b8a9f9d920 i fucking hate this plugin 2020-10-09 22:28:29 -05:00
Telesphoreo
3aff90ee6b Merge https://github.com/EssentialsX/Essentials into 1.16 2020-10-09 22:28:18 -05:00
Alexander Söderberg
e2f17f11d3
Tab-complete plugin names in /help (#3713)
Plugin names are accepted as input to `/essentials:help`, but they are not completed. This makes it easier to lookup plugin commands.
2020-10-07 11:54:30 -07:00
md678685
4f8c040d06 Add link to Register license notice 2020-10-05 17:34:55 +01:00
Josh Roy
af1d068022
Add more inventory commands (#3704)
Add more commands to access virtual crafting inventories (on platforms with the required APIs).

Closes #3195 and #108.
2020-10-05 14:45:33 +01:00
pop4959
d7fc859d14
Use username instead of nickname in console /sell messages (#3693)
Closes #3662

This PR changes the default placeholder `{0}` to username. Display name can still be used with `{5}`.

Before change:
messages.properties
`itemSoldConsole=\u00a7e{0} \u00a7asold\u00a7e {1}\u00a7a for \u00a7e{2} \u00a7a({3} items at {4} each).`
console
`[Essentials] ~test sold dirt for $64 (64 items at $1 each).`

After change:
messages.properties
`itemSoldConsole=\u00a7e{0} \u00a7asold\u00a7e {1}\u00a7a for \u00a7e{2} \u00a7a({3} items at {4} each).`
console
`[Essentials] pop4959 sold dirt for $64 (64 items at $1 each).`

messages.properties
`itemSoldConsole=\u00a7e{5} \u00a7asold\u00a7e {1}\u00a7a for \u00a7e{2} \u00a7a({3} items at {4} each).`
console
`[Essentials] ~test sold dirt for $64 (64 items at $1 each).`
2020-10-05 09:50:56 +01:00
Ryan
ac953cd114
Remove sign color codes from trade.log (#3699)
Started looking into #3116 but noticed this issue and wanted to fix it first.

Also added a comment as to why the username is truncated as this took me a long time to figure out and seemed arbitrary. Probably could truncate the username later for trade signs only as other signs don't require any username to be present on the sign. However, for now I simply opted to document.
2020-10-05 09:47:12 +01:00
md678685
6e6dd041d5 Add Javadocs to most API classes 2020-10-04 19:59:42 +01:00
md678685
9b3c8a9df2 Reformat and fix Checkstyle violations 2020-10-04 19:59:42 +01:00
Telesphoreo
0a39d34b11 b 2020-10-03 23:32:30 -05:00
Telesphoreo
5aac391702 Merge https://github.com/EssentialsX/Essentials into 1.16 2020-10-03 23:29:10 -05:00
pop4959
89b3c9233e
Bump Paperlib version (#3695) 2020-10-03 12:29:43 -07:00
Josh Roy
5d61a43fe1
Add balanceTopLine i18n translation string (#3626) 2020-09-25 19:16:12 -07:00
Olivia
29d5ccf751
Fix /lightning ignoring essentials.lightning.others (#3671) 2020-09-13 17:23:50 -07:00
Telesphoreo
99793e00b5 Merge https://github.com/EssentialsX/Essentials into 1.16 2020-09-12 14:39:32 -05:00