Skip to content

PluginControl v1.1.0

Compare
Choose a tag to compare
@SrBedrock SrBedrock released this 25 Sep 04:28
· 104 commits to main since this release
96684eb

What's Changed

New Features

New Configuration

  • Added groups: {}, list containing group of plugins
  • Remove kick-message from config.yml file and placed in lang.yml file. Colors can be added via MiniMessage.

New Commands

  • /pc add all - Adds all activated plugins to the list of required plugins.
  • /pc remove all - Removes all plugins from the list of required plugins.
  • /pc group create <group-name> - Creates a new group.
  • /pc group delete <group-name> - Deletes a specified group.
  • /pc group add <group-name> <plugin-name> - Adds a plugin to a specified group.
  • /pc group remove <group-name> <plugin-name> - Removes a plugin from a specified group.
  • /pc group list - Lists all groups.
  • /pc group list <group-name> - Lists all plugins within a specified group.

New Messages

kick-message: '<red>[PluginControl] You are not allowed to join the server!'
console:
  [...]
  log-to-console-plugin: '<prefix> <red>Required plugins were not found: <plugins>'
  log-to-console-group: '<prefix> <red>Required groups were not found: <groups>'
command:
  plugin-added-all: '<prefix> <green>All plugins added to the list of required plugins!'
  [...]
  plugin-list-enabled-color: '<green>'
  plugin-list-disabled-color: '<red>'
  [...]
  plugin-removed-all: '<prefix> <green>All plugins removed!'
  [...]
  group-create-error: '<red>Usage: <yellow>/<command> group create <group-name>'
  group-created: '<prefix> <green>Group <yellow><group> <green>created!'
  group-already-exist: '<prefix> <red>Group already exists!'
  group-remove-error: '<red>Usage: <yellow>/<command> group delete <group-name>'
  group-removed: '<prefix> <green>Group <yellow><group> <green>removed!'
  group-not-found: '<prefix> <red>Group <yellow><group> <red>not found!'
  group-list-empty: '<prefix> <red>No groups added!'
  group-list: '<prefix> <yellow>Required Groups: <groups>'
  group-list-error: '<red>Usage: <yellow>/<command> group list <group-name>'
  plugin-added-to-group: '<prefix> <green>Plugin <yellow><plugin> <green>added to group <yellow><group>'
  plugin-add-to-group-error: '<red>Usage: <yellow>/<command> group add <group-name> <plugin-name>'
  plugin-removed-from-group: '<prefix> <green>Plugin <yellow><plugin> <green>removed from group <yellow><group>'
  plugin-removed-from-group-error: '<red>Usage: <yellow>/<command> group remove <group-name> <plugin-name>'
  plugin-not-in-group: '<prefix> <red>Plugin <yellow><plugin> <red>not in group <yellow><group>'
  group-plugin-list-error: '<red>Usage: <yellow>/<command> group list <group-name>'
  group-has-no-plugins: '<prefix> <red>Group <yellow><group> <red>has no plugins!'
  group-plugin-list: '<prefix> <yellow>Plugins in group <green><group><yellow>: <yellow><plugins>'
  group-list-name: '<yellow>Group <group>:'
  group-click-delete: '<red>Click to delete the group'
  group-click-remove-plugin: '<red>Click to remove the plugin from the group'
  group-click-info: '<yellow>Click to see the group info'
  group-help:
    - '<gradient:aqua:green>=== Plugin Control Group Help ===</gradient>'
    - '<aqua>/<command> group create <green><group> <yellow>- Create a group'
    - '<aqua>/<command> group delete <green><group> <yellow>- Remove a group'
    - '<aqua>/<command> group list <yellow>- List all required groups'
    - '<aqua>/<command> group add <green><group> <plugin> <yellow>- Add a plugin into a group'
    - '<aqua>/<command> group remove <green><group> <plugin> <yellow>- Remove a plugin from a group'
    - '<aqua>/<command> group list <green><group> <yellow>- List all plugins in a group'
    - '<aqua>/<command> group help <yellow>- Show the group help'
    - '<gradient:aqua:green>================================</gradient>'

Pull Requests

New Contributors

Full Changelog: v1.0.4...v1.1.0