Skip to content

[2.0.0] Compatibility with all territory plugin

Compare
Choose a tag to compare
@MachiganMC MachiganMC released this 28 Jul 19:16
· 51 commits to master since this release

Major changes :

  • The plugin no longer depends on GriefPrevention. Now the plugin is compatible
    with all territory plugins.
  • New message handler :
    • The configuration of the messages is now in a separate file named messages.yml
      (or messages_fr.yml).
    • Support with PlaceHolderAPI.
    • A lot of placeholders (in addition to PlaceHolderAPI) for more customisation
      of the messages (e.g. display information about a block that the player edits).
    • Better description of each message.
    • Add personal variable. If a part of text is often used (for example, a prefix),
      it's possible to configure it as a placeholder to re-use it.
      # Example :
      PersonalVariable:
        # Declare the placeholder
        prefix: "#3399FF[<s:667db6>Debug<e:0082c8>#3399FF-<s:0082c8>Stick<e:667db6>#3399FF]&r"
      
      # ...
      # And use it in an example message 
      ExampleMessage: "{prefix} &aIt's an example message"
    Before using these new functionalities, read documentation about it at the top
    of all message files.
  • Now the value of properties that a player modified is now forced. If the value
    should be modified because of event. This will (for example) prevent the seed
    from growing or the lamp redstone to be turned off.
  • The use of the debug stick is now different and more similar to the vanilla debug
    stick.
    • left-click: change the current property to edit.
    • right-click: edit the property.
    • shift + left-click: see all editable properties and their values.
    • shift + right-click: clear persistent values, now the value of properties
      is not anymore forced.

Minor changes :

  • Change the name of some permission for more logic.
  • Change the name and configuration of the fields in the configuration files.
  • Add a better log handler. In the future a compatibility with
    CoreProtect will be
    added.
  • Add a blacklist the world where the debug stick cannot be used
    (like for materials).
  • Add permissions to bypass the blacklists, the blockage of territory plugin.
  • Add all missing properties listed here.
  • Update the plugin for the Minecraft version 1.19.2.
  • It's possible to load any file from the resources folder with /pds load <file>.