Commit Graph

259 Commits

Author SHA1 Message Date
Trigary
357d34835f fix empty array elements in command arguments
Adjacent spaces caused empty array elements due to how String#split works.
This change removes those empty array elements without modifying anything else.
Adjacent spaces sent by players are removed in PlayerConnection, so this change doesn't affect players.
But it does affect the console, command blocks, Bukkit.dispatchCommand, etc.
2021-06-05 10:29:39 +02:00
Shane Freeder
d9195b0be3 Make the default permission message configurable 2018-11-18 19:44:54 +00:00
Riley Park
f7eff332be Add configuration option to prevent player names from being suggested 2017-06-09 07:24:24 -07:00
willies952002
55dc3ff664 Allow Reloading of Command Aliases
Reload the aliases stored in commands.yml
2016-11-28 10:16:39 -05:00
William
97112daade Add command to reload permissions.yml and require confirm to reload 2016-03-18 03:28:07 -04:00
Aikar
65a5fbb91a Add sender name to commands.yml replacement
This allows you to use $sender in commands.yml definitions to make
commands that auto target self.
2015-07-22 18:50:41 -04:00
Riley Park
8b45793902 Add BaseComponent sendMessage methods to CommandSender 2016-03-08 13:05:59 -08:00
Zach Brown
7c31d0a39b Add exception reporting event 2016-02-29 20:24:35 -06:00
Zach Brown
05ec73f817 Expose server build information
Co-authored-by: Professor Bloodstone <git@bloodstone.dev>
Co-authored-by: Mark Vainomaa <mikroskeem@mikroskeem.eu>
Co-authored-by: masmc05 <masmc05@gmail.com>
Co-authored-by: Riley Park <rileysebastianpark@gmail.com>
2019-05-27 01:10:06 -05:00
Aikar
d4d8262f6e Timings v2
TODO: Add #isStopping to FullServerTickHandler#stopTiming in patch 191
expose isRunning
2016-02-29 18:48:17 -06:00
Owen1212055
23095683d0 Paper Plugins 2022-07-06 23:00:36 -04:00
Riley Park
15081a5912 Adventure
Co-authored-by: zml <zml@stellardrift.ca>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
Co-authored-by: Yannick Lamprecht <yannicklamprecht@live.de>
2021-01-29 17:21:55 +01:00
Bukkit/Spigot
28e80d52a4 BungeeCord Chat API
By: md_5 <git@md-5.net>
2014-12-13 02:59:14 +01:00
Bukkit/Spigot
c2123d2080 Spigot Timings
Adds performance tracking timings all around the Minecraft Server, and improves the usability of the /timings command

Plugins can track their own timings with CustomTimingsHandler

By: Aikar <aikar@aikar.co>
2013-06-02 10:42:57 +10:00
Bukkit/Spigot
8de3a6a15d Skeleton API Implementations
By: md_5 <git@md-5.net>
2017-05-15 15:16:15 +10:00
Bukkit/Spigot
0023e5549a #1082: Add "since" to Deprecation annotations
By: DerFrZocker <derrieple@gmail.com>
2024-11-25 07:52:33 +11:00
Bukkit/Spigot
5c69fd52f0 Update to Minecraft 1.21
By: md_5 <git@md-5.net>
2024-06-14 01:05:00 +10:00
Bukkit/Spigot
a3fb15bc23 SPIGOT-7676: Enforce locale parameter in toLowerCase and toUpperCase method calls and always use root locale
By: DerFrZocker <derrieple@gmail.com>
2024-06-03 07:18:14 +10:00
Bukkit/Spigot
899f2acb84 #993: Deprecate Command's permission message methods as they no longer work
Ever since Mojang's introduction of Brigadier in 1.13, the client is not
sent any commands to which it does not have permission to execute. If a
client executes a command it is not aware of (and consequently does not
have permission for), the client will send itself instead of forwarding
the failure to the server for its response.

By: 2008Choco <hawkeboyz2@hotmail.com>
2024-04-20 11:26:09 +10:00
Bukkit/Spigot
641a55cbc5 SPIGOT-7467: Add getAddress to RemoteConsoleCommandSender
By: md_5 <git@md-5.net>
2023-08-26 18:19:18 +10:00
Bukkit/Spigot
ec575f5252 Update to Minecraft 1.19
By: md_5 <git@md-5.net>
2022-06-08 02:00:00 +10:00
Bukkit/Spigot
f37d1372b3 SPIGOT-6944: Correct TabCompleter docs
By: md_5 <git@md-5.net>
2022-02-21 12:02:28 +11:00
Bukkit/Spigot
567948a8d1 SPIGOT-6771: Help command tab completion does not respect permissions
By: md_5 <git@md-5.net>
2021-10-24 20:33:42 +11:00
Bukkit/Spigot
146a88e577 SPIGOT-6641: Use varargs in sendMessage
By: DerFrZocker <derrieple@gmail.com>
2021-07-22 09:38:11 +10:00
Bukkit/Spigot
fe61d84f47 Improve /version command
By: md_5 <git@md-5.net>
2021-01-16 13:20:32 +11:00
Bukkit/Spigot
f341d8d29a #556: Allow sending messages from specific UUIDs
By: Mariell Hoversholm <proximyst@proximyst.com>
2020-10-17 17:42:40 +11:00
Bukkit/Spigot
4e44fa11b3 #525: Add contributors plugin.yml field.
Unlike "authors", names listed under the "contributors" field will not be named when AuthorNagExceptions are thrown. This makes a clear distinction between authorship and contributors as most contributions do not warrant the status of "author".

By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-07-22 18:17:07 +10:00
Bukkit/Spigot
aec6ad036b #474: Add ability to set other plugin names as provided API so others can still depend on it
By: Phoenix616 <mail@moep.tv>
2020-03-15 18:59:32 +11:00
Bukkit/Spigot
0c53c95293 Add additional checkstyle checks
By: md_5 <git@md-5.net>
2020-01-24 17:37:30 +11:00
Bukkit/Spigot
d16413b877 Javadoc improvements per checkstyle
By: md_5 <git@md-5.net>
2019-12-22 09:56:28 +11:00
Bukkit/Spigot
7887b38ac0 Update to Minecraft 1.15
By: md_5 <git@md-5.net>
2019-12-11 09:00:00 +11:00
Bukkit/Spigot
fb6a646cbc Update /version to reflect final build status.
By: md_5 <git@md-5.net>
2019-12-11 08:00:00 +11:00
Bukkit/Spigot
82854b7bd7 Add Override annotations where appropriate
By: md_5 <git@md-5.net>
2019-04-28 11:37:52 +10:00
Bukkit/Spigot
e9ae9842f0 Apply and enforce import ordering rules
By: md_5 <git@md-5.net>
2019-04-23 14:33:57 +10:00
Bukkit/Spigot
c240b58f66 Begin implementation of CheckStyle style checking
By: md_5 <git@md-5.net>
2019-04-23 14:00:20 +10:00
Bukkit/Spigot
30a442aef7 Update to Minecraft 1.14-pre5
By: md_5 <git@md-5.net>
2019-04-23 12:00:00 +10:00
Bukkit/Spigot
3c840f61b8 Update /version to reflect final build status.
By: md_5 <git@md-5.net>
2019-04-23 12:00:00 +10:00
Bukkit/Spigot
e86efb4b0b Use gson for decoding version command
By: md_5 <git@md-5.net>
2019-03-23 20:22:06 +11:00
Bukkit/Spigot
5f8c960c7c Fix command description not being set
By: md_5 <git@md-5.net>
2019-03-18 10:34:39 +11:00
Bukkit/Spigot
416c865476 SPIGOT-2540: Add nullability annotations to entire Bukkit API
By: Darkyenus <darkyenus@gmail.com>
2019-03-13 17:42:57 +11:00
Bukkit/Spigot
1855bf0649 SPIGOT-4572: Make default no permission message clearer
By: md_5 <git@md-5.net>
2019-01-14 10:07:31 +11:00
Bukkit/Spigot
c6cddd3663 Clarify what "return false" in onCommand does.
By: md_5 <git@md-5.net>
2018-11-15 11:07:00 +11:00
Bukkit/Spigot
66cea125d6 Minor cosmetic cleanups to imports etc
Please see https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/389/overview

By: Parker Hawke <hawkeboyz2@hotmail.com>
2018-10-27 14:55:52 -04:00
Bukkit/Spigot
6f25985272 Use String.split for simple splits
By: md_5 <git@md-5.net>
2018-10-27 18:22:29 +11:00
Bukkit/Spigot
70727107ce Fix some additional documentation typos
Thanks mrfloris

By: md_5 <git@md-5.net>
2018-01-15 12:53:01 +11:00
Bukkit/Spigot
9d7599793b SPIGOT-3748: Throw error message if executing disabled command
By: md_5 <git@md-5.net>
2018-01-09 08:32:37 +11:00
Bukkit/Spigot
2eee02bdd6 SPIGOT-3744: Missing permission check in broadcastCommandMessage
By: md_5 <git@md-5.net>
2018-01-07 09:22:30 +11:00
Bukkit/Spigot
7f32fecc86 Fix tab completion for plugins / reload command
By: md_5 <git@md-5.net>
2017-11-10 10:48:31 +11:00
Bukkit/Spigot
417599c2ab Some minor improvements from static analysis
By: md_5 <git@md-5.net>
2017-11-07 17:28:28 +11:00
Bukkit/Spigot
e3d4acc303 Assorted whitespace fixes
By: md_5 <git@md-5.net>
2017-08-06 09:08:05 +10:00