Henny Essentials V1.0.4-E2
Changes in this version:
Alias + Permission fixes
- Fixed command aliases not inheriting the correct permissions.
- All command alias should now require the correct permission to execute the command.
- HE Perms: check with
he permission verbose
- LP Perms: check with
lp verbose on
Permission fixes
- Fixed permission requirement for
/home
when no home name was given. Now has the correct permission:command.he.home
Vanish / Fly check task fixes
- Better checking of vanish/fly and removing if no permission
Henny Essentials V1.0.4-E1
Changes in this version:
More vanish fixes
- Fixed a bug where changing worlds while in vanish removed your skin until server restart
Playtime
- HE will now track each players playtime
/he playtime
- Option in config to enable/disable counting AFK time as playtime
Permissions
- The way HE behaves when LuckPerms integration is enabled has been changed.
- When using LP integration, players should use
lp verbose on
to check what permission nodes to use for commands. - When not using LP integration, players should use
he permission verbose
to check what permission nodes to use for commands.- Example HE permission:
command.he.permission.user.add
- Example LP permission:
command.he.adduserperm
- Example HE permission:
- Fixed dimension permission denied teleport to use correct look angles
- Added new PermissionConfig:
shouldIncludeArgumentNodesInPermissions
- this will add nodes to command arguments in HE Permissions. This won't do anything if LP integration is enabled.- Example: The enchant command HE permission is
command.enchant
- With
shouldIncludeArgumentNodesInPermissions
set to true, the full permission would becommand.enchant.targets.enchantment.level
- If a player only has permission
command.enchant.targets.enchantment
, they cannot set a level and the command will default to level 1. - This gives further customisation on which commands and which arguments players can use.
- Example: The enchant command HE permission is
Chat Colors
- HE now supports chat colors if chat formatting and chat colors enabled in config.
- Color code symbol can be changed in config. Default is:
&
- If permissions enabled AND permissionCheckForChatColors enabled, you need the following permissions:
he.chat.format.COLORNAME
- You can find the list of colors HERE
- For example, to give a player access to all formats you would give permission
he.format.*
- To give a player access to only dark gray text you would give permission
he.format.dark_gray
Command Aliases
- You can now define a list of aliases for a command, instead of just one alias for one command.
- Your aliasMap in config will be automatically migrated to an
aliasList
where you can then add more aliases. - Example:
"aliasConfigs": {
"aliasList": {
"he kits": [
"kits",
"listkits",
"kitlist"
]
}
}
Command Tokens
- CommandTokens now have an optional
reusableUsageLimit
.- if the token is reusable, it will disappear on its final use
- CommandTokens can now have a "permission" string added to their config entry and if permissions are enabled, only players with the defined permission can use the token.
- CommandTokens now have a
shouldWriteToAuditLog
option to determine whether to log usages of that token to Audit Log- Must have
shouldWriteCommandTokenUsagesToAuditLog
set to true to work.
- Must have
Back command
- There is now a config option to make the
/he back
command save your last teleport location as well as last death location. - The teleports it will register are teleports done by HE mod. Actions such as nether portals and ender pearls will not count.
Kit and Warp names are now stored as lowercase
- ^^^ All previously saved kits and warps will be converted. No manual action required.
Henny Essentials V1.0.2
Changes in this version:
Forge & Fabric specific:
- Fixed auto-restart not working on Forge/Fabric.
- Fixed Tasks not starting correctly on Forge/Fabric
- Various other platform-specific fixes
- If anyone is using this mod on Forge/Fabric please join the Discord and message me if you have any issues
Announcements
- Added "Announcements" system where players can define announcements that are sent to all online players at configurable time periods
- Example: Broadcast a message:
Don't forget to join our Discord!
every 5 minutes - Announcements can be created in
config/HennyEssentials/Announcements.json
- Announcements config can be reloaded during server uptime with command:
/he reloadAnnouncements
- Announcements support TELLRAW format for their message.
- IMPORTANT: if using TELLRAW, don't forget to escape your JSON string!
- Config example:
- Example: Broadcast a message:
{
"announcements": [
{
"announcementText": "Don't forget to join our discord!",
"secondsDelay": 300
},
{
"announcementText": "[\"\",{\"text\":\"Example\",\"bold\":true},{\"text\":\" announcement!\",\"color\":\"green\"}]",
"secondsDelay": 600
}
]
}
- In the above example, the first announcement is a simple message sent every 5 minutes.
- The second announcement is a TELLRAW message sent every 10 minutes
Config
- Added command to reload HE config:
/he reloadConfig
- This command will also restart any Tasks defined in Task Configs.
- If you wouldn't like the tasks to restart, specify
false
at the end of the command - Example:
/he reloadConfig false
- Reload configs but don't restart any tasks such as the Restart Task or permission check tasks
Henny Essentials V1.0.1
Changes in this version:
Config
- You will have to delete your HennyEssentials.json config before installing this update.
-
- Safeguards have been put in place to prevent this from being required in future updates
- Added option to enable/disable several commands in config
- Many messages sent by Henny Essentials are now configurable to help with translation
- Almost all parts of the mod are now configurable in some way
Permissions
- Made permissions actually work on Fabric (oops)
- Added very basic LuckPerms integration.
-
- If enabled in config, all HE permission checks will instead be done by LuckPerms.
-
- You must have permissions enabled AND LuckPerms override enabled in config for this to work
- You must have permissions enabled AND LuckPerms override enabled in config for this to work
- Added option to enable "dimension permissions" - restricting a user from being in and/or using TPA to access a dimension
-
- Enabled in config
-
- Users require permission:
dimension.level_name
for access anddimension.level_name.tpa
for TPA access
- Users require permission:
-
- Example permission for the Nether:
dimension.minecraft:the_nether
- Example permission for the Nether:
-
- Level name will be given in the error message when a player is denied access
- Level name will be given in the error message when a player is denied access
- All users are now added to the group
default
by default. - You can no longer add multiple of the same permission to a user
- Permissions are now always stored as lowercase
Tasks
- Configurable intervals for tasks that:
-
- Purge expired bans
-
- Purge expired mutes
-
- Purge expired warps
-
- Check player permissions to be in dimension (if enabled)
-
- Check player permission to have certain abilities (fly/vanish) and remove if no permission
Command Tokens
-
You can now lock Command Tokens to the receiving player by specifying a true/false in the give command
-
- Example:
/he token give playername tokenalias true
(locks the token so it can only be redeemed by the receiving player)
- Example:
-
You can now reload the Command Tokens config during server runtime to load newly added tokens by using the command
/he token reloadConfig
Aliases
-
Added an aliasConfigs section of HennyEssentials.json config
-
This allows you to define custom "aliases" for any commands.
-
To create an alias of a command, simply add an entry to the aliasMap section.
-
NOTE: Any alias you define will override the existing command. If you enter an alias "ban" it will override the default Minecraft ban command.
Example: create /warps alias of /he warps
"aliasConfigs": {
"aliasMap": {
"he warps": "warps"
}
},
- The above example will create a new command
/warps
that executes the command/he warps
- Note for people using the permission system: Aliases will have their own unique permission node. The above example would require the permission
command.warps
instead of the defaultcommand.he.warps
Commands
- Added
tpa
andtpahere
commands - Added
fly
command - Added
vanish
command - Added
heal
command - Added
repair
command - Added
banUUID
command - Added
unbanUUID
command - Added commands for adding user/group prefixes/suffixes
Chat Formatting
- HE chat formatting can be enabled in the config
- Added ability to set group and user prefixes/suffixes
- User prefix/suffix weight can be changed by adding permission
weight.<integer>
-
- Example: If a user has a permission of
weight.1
and a prefix of [User], and that user is also a member ofgroup.mod
which has a group prefix of [Mod], the Mod prefix can be set as preferred by givinggroup.mod
the permission:weight.2
- Example: If a user has a permission of
- Similarly, group weight can be defined by giving the group a permission of
weight.<integer>
- Prefixes/suffixes support the TELLRAW format
Moderation
- Auto server restart feature added. Can be enabled in config.
-
- Messages sent can be changed in config. Color codes supported.
Availability
- Removed dependency on Architectury
- Released V1.0.1 for Forge
- Updated to V1.0.1 for Fabric & NeoForge
Minor fixes
- Added confirmation message when muting a player
- Added confirmation message when tempmuting a player
- Added error message when GameProfile cannot be fetched for player who is the target of a mute/ban
- A lot of other stuff that I forgot about
Thank you
- Thanks to Ciel on HennyEssentials Discord for helping me test and iron out the bugs