32975ca35d
Rewrites a lot of the config command to only do the minimum necessary steps to load the changes
...
Adds a ConfigTag class for helping to decide the action necessary for updating a given config option
Splits the color setting in PortalSignDrawer as only one color is set at a time when the /config command is used
Updates the configOptions map when a config option is changed
2021-11-24 22:33:45 +01:00
22bb75d4df
Moves some methods from EconomyConfig to EconomyHelper and tries to simplify EconomyConfig
EpicKnarvik97/Stargate/pipeline/head There was a failure building this commit
2021-11-23 07:20:48 +01:00
10c3914a60
Makes the free gate color configurable
2021-11-15 00:35:28 +01:00
1c2cad2ec1
Updates version to 0.9.1.0, updates README and adds a permission for changing config values
...
Adds the stargate.admin.config permission, which is required to use /sg config
2021-11-09 21:16:53 +01:00
b4d908eaa0
Improves tab completion for Stargate commands by taking into account typed text
...
Sends tab completion for the config command to the config tab completer
2021-11-09 20:58:55 +01:00
8546fd4f78
Fully implements the config command
2021-11-09 20:57:06 +01:00
05328fc456
Adds a tab completer for the config sub-command
2021-11-09 20:56:43 +01:00
6466c7b0ff
Adds the config command to the stargate auto completer
...
EpicKnarvik97/Stargate/pipeline/head There was a failure building this commit
Additionally makes the reload command only auto-complete if the command sender can use it
2021-11-09 02:04:59 +01:00
37cf75ada1
Adds the config command as a child to the Stargate command
2021-11-09 02:01:58 +01:00
1ca2d36f5f
Adds an unfinished implementation of the config command, which is only able to display config options for now
2021-11-09 02:01:11 +01:00
487cb3ad9e
Adds missing info about Bungee-related permissions to the readme and adjusts permissions a bit
...
Adds stargate.server and stargate.admin.bungee permissions to the readme
Renames stargate.reload to stargate.admin.reload for better consistency
Makes the stargate.admin permission only give the reload, hidden, private and bungee permissions while the wildcard permission gives all permissions
2021-10-29 01:45:50 +02:00
2541391d3e
Moves all config related code from Stargate to StargateConfig
2021-10-23 18:34:31 +02:00
7cc8685e26
Moves all methods for sending messages to players to the MessageSender class
2021-10-23 14:10:33 +02:00
51afa1527f
Updates the API version used as 1.16 is no longer the target version
2021-10-11 20:16:36 +02:00
72c1b5a239
Updates About information
2021-10-11 20:13:50 +02:00
7a9dbb8046
Implements some Java 14 code migrations
2021-10-09 23:41:19 +02:00
1e29db58b9
Improves some variable names and adds some comments
2021-09-20 18:22:20 +02:00
f681db629f
Refactors a lot of code, and extracts permission-related functions to the PermissionHelper class
2021-09-20 13:56:30 +02:00
f12306426b
Renames strings in onCommand to args for consistency
2021-09-20 13:46:20 +02:00
daa3c6f868
Cleans up a bit and changes to compile for java 16 and spigot 1.17
2021-09-09 15:25:08 +02:00
1721750aa1
Adds comments and simplifies some of the code
...
Adds a PortalOption enum to simplify portal options
Adds a BungeeHelper class to collect the bungee-related code
2021-02-20 13:57:04 +01:00
2ae4fc9645
Adds class comment to the stargate tab completer
2021-02-19 12:07:34 +01:00
5b7f5649b1
Makes a whole lot of changes
...
Adds some new tests
Improves plugin command handling by using one class for each command
Makes some changes to vehicle teleportation to support horses and pigs, but vehicle teleportation is still buggy and messy
Adds some more missing comments
Adds a wildcard permission and uses built-in permissions some places to avoid checking for three different permissions
2021-02-16 21:58:31 +01:00