13
0
geforkt von Mirrors/Paper

25 Commits

Autor SHA1 Nachricht Datum
Bukkit/Spigot
0a0e475f83 Tweaks to command system to allow setting executors via plugins (no more ambiguous onCommand in plugins)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-28 00:30:59 +00:00
Bukkit/Spigot
6132abb1f5 Changed ConsoleCommandSender to use stripColor instead of hardcoded
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-23 11:44:12 +00:00
Bukkit/Spigot
858c8bee96 ConsoleCommandSender no longer has a default constructor, use ConsoleCommandSender(server). Added entity.getServer
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-23 11:33:03 +00:00
Bukkit/Spigot
023ff0a43d We need to set cmdSuccess accordingly.
By: EvilSeph <evilseph@unaligned.org>
2011-02-18 21:30:19 -05:00
Bukkit/Spigot
636c1ec83a Exception handling in commands
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-18 16:25:06 +00:00
Bukkit/Spigot
d3b62214a6 Fixed alias parsing for commands. object.toString().split(",") is NOT how you parse a YAML list!
By: sk89q <the.sk89q@gmail.com>
2011-02-16 21:45:15 -08:00
Bukkit/Spigot
2dee4ab20e Commands should not be case-sensitive.
By: EvilSeph <evilseph@unaligned.org>
2011-02-06 21:56:38 -05:00
Bukkit/Spigot
925ec8254e Moved the plugin list display out of the version command and into the plugins command.
Version should not display a list of plugins as a server running many
plugins will no longer be able to see the version output.

By: EvilSeph <evilseph@unaligned.org>
2011-02-05 04:30:18 -05:00
Bukkit/Spigot
477b359f13 Revert "fallback code for command lookup"
This reverts commit 74a549c74bcabdb094c5c46f919ed98288631352.

By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-02 09:20:16 +00:00
Bukkit/Spigot
1899891b6f fallback code for command lookup
By: tahg <tahgtahv@gmail.com>
2011-02-01 21:56:16 -08:00
Bukkit/Spigot
474817bf11 General cleanup (deprecated+whitespace)
By: Erik Broes <erikbroes@grum.nl>
2011-02-02 00:02:08 +01:00
Bukkit/Spigot
4f6c65d684 Strip colours for console output
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 18:26:31 +00:00
Bukkit/Spigot
d1bbdaf377 Don't delete the first char of the command passed
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 18:12:31 +00:00
Bukkit/Spigot
3085f140b3 Deprecated CommandSender.isPlayer (instanceof!) and added ConsoleCommandSender
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 16:45:29 +00:00
Bukkit/Spigot
6f4cf0388b Renamed IExecutor -> CommandExecutor and fixed SERVER_COMMAND doc
By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-29 21:17:36 +00:00
Bukkit/Spigot
e56db60b83 Finalising merge with head
By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-29 17:28:31 +00:00
Bukkit/Spigot
c736e00b8c merge with head
By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-29 17:18:32 +00:00
Bukkit/Spigot
df05c36540 Refactored event calling so its front loading avoiding the lookup for each event call.
This now uses an annoymous class implementing IExecutor that facilitates direct event method handler calling

Changed commands from being executed exclusively by a player to by a CommandSender to facilitate external command callers such as rcon

Fixed CustomEventListener

Merged in additional events

Added getFullName to PluginDescriptionFile which returns the combination of Name and Version

There's also a few bits of reformatting as it seems someones been editing with either tabs or dos eol :(

By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-29 16:23:56 +00:00
Bukkit/Spigot
7d4be15159 Fixed only being able to use /reload once
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-28 14:24:54 +00:00
Bukkit/Spigot
14c7da2f6e clearPlugins() and clearCommands() for PluginManager and CommandMap respectively
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-28 14:18:24 +00:00
Bukkit/Spigot
74cf5f3f85 Fully implemented /version
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-20 05:46:23 +00:00
Bukkit/Spigot
396f22f816 Added /version and /reload commands
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-20 03:53:27 +00:00
Bukkit/Spigot
f0ab429e01 Fixed empty check in PluginCommand
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-20 03:08:15 +00:00
Bukkit/Spigot
2c532f4d88 Fixed minor bug with alias registration and removed debug output
By: VictorD <victor.danell@gmail.com>
2011-01-18 01:54:48 +01:00
Bukkit/Spigot
ab6f5d4bc2 Updated commands to have optional aliases, and to fallback to /pluginName:cmdName on name conflict.
By: VictorD <victor.danell@gmail.com>
2011-01-18 01:12:50 +01:00