Skip to content

Releases: NucleoidMC/player-roles

player-roles-1.4.0

11 Jun 06:59
4568624
Compare
Choose a tag to compare
  • Update to 1.17!
  • Fix wrong order of inheritance for overrides (#29)
  • Fix command blocks and functions having the everyone role applied (#28)
  • Separate out a simple includable API for interacting with Player Roles

player-roles-1.3.1

21 Mar 16:16
b0b6813
Compare
Choose a tag to compare
  • Ensure all roles are assigned unique levels instead of silently "masking" other roles with the same level
  • Send feedback to the player when they are muted and support muting through /msg and /teammsg command
  • Allow for roles to inherit overrides from other roles (#22)
"foo": {
  "includes": ["bar"]
},
"bar": {}
  • Support applying roles to command blocks and functions
"foo": {
  "apply": {
    "command_block": true,
    "function": true
  }
}
  • Report parsing errors to the player when running /role reload

player-roles-1.3.0

14 Jan 07:51
6b2992d
Compare
Choose a tag to compare
  • Store roles in an independent database instead of on player data
    • This means that roles can now be edited for offline players (#6)
  • Fix overrides not being properly applied to players who joined for the first time without any roles
  • Allow permission key overrides with LuckPermissions (#15)
    For example:
"overrides": {
  "permission_keys": {
    "foo.*": "allow",
    "foo.bar": "deny",
    "foo.*.baz": "allow",
    "*.baz": "deny"
  }
}
  • Change parsing of chat_format override to properly handle styling of the player's message.
    For example, "chat_format": "§8<%s§8> §7%s" would not style the player's message, whereas it now will be correctly styled grey.

player-roles-1.2.1

05 Jan 08:28
Compare
Choose a tag to compare
  • Fix command permission hooks failing after datapack reload
  • Add support for custom name style colors through #ffffff format
    • e.g. "name_style": ["#ff0000"]

player-roles-1.2.0

29 Nov 19:50
Compare
Choose a tag to compare
  • Fix handling of commands that make use of redirects (e.g. /tp & /teleport)
  • Change command rule testing logic to hopefully improve intuition
  • Add override to set vanilla permission level
  • Apply role color despite team if team color is RESET
  • Improve internal API as well as performance for querying overrides

player-roles-1.1.2

04 Nov 11:29
Compare
Choose a tag to compare
  • Port to 1.16.4

  • Add mute role override to disallow players from using chat

"overrides": {
  "mute": true
}

player-roles-1.1.1

02 Oct 13:47
Compare
Choose a tag to compare
  • Add command_feedback override to allow certain roles to receive broadcast from command usage (#4)
"overrides": {
  "command_feedback": true
}
  • Add command permission override type to enable usage of a command while keeping it hidden from suggestions (#5)
"commands": {
  "gamemode (spectator|survival)": "allow",
  "gamemode creative": "hidden"
}
  • Fix incompatibility with WorldEdit (#3)

player-roles-1.1.0

12 Aug 11:16
Compare
Choose a tag to compare

This release updates to Minecraft 1.16.2 and makes some changes to the chat styling overrides. Most notably, chat_style has split into chat_format and name_style. The first is used mostly like before, while the second is used to just apply formatting codes to the player name.

New usage may look like:

"name_style": ["red", "bold"],
"chat_format": "<%s*> %s"

...which will apply a red and bold style to the player name, and add a * after the player name

player-roles-1.0.2

13 Jul 10:43
Compare
Choose a tag to compare
  • Fix chat styling not applying to the inner texts

player-roles-1.0.1

10 Jul 08:40
Compare
Choose a tag to compare

Fix version that moves the config to config/roles.json and ensures that the fallback to vanilla command requirements is correct for sub-nodes