Big Changes
- Saving changed to MySQL & SQLite
- Command structure has changed
- Placeholder API placeholders changed
- Permissions changed
Please report any issues with this update! Thanks <3
Saving now uses SQL to store data, allowing easier indexing
This allows three new config options:
nickname-protection.online.enabled
(Prevents people from setting the same nickname as someone else who is online)nickname-protection.offline.enabled
(Prevents people from setting the same nickname as someone regardless whether they're online or not)nickname-protection.offline.expires
(How many days a nickname should be protected for, if the person doesn't log in) Other new config options:require-permission
nick
: whether the basic nickname commands should require permissions set by a permission plugincolor
: Whether nicknames can have color without having permissions set by a permission pluginformat
: Whether nicknames can have formatting without having permissions set by a permissions pluginwho
: Whether you can look up who a user is based on their nickname without having permissions set by a permissions plugin
New Commands:
/nick who <nickname>
tells you the username of the player with the supplied nickname/nick save
can now take in an argument, so you can now do/nick save <nickname>
if you want to save something that isn't your current nickname/nick admin lookup <username>
will display a user's current nickname, as well as their saved nicknames
Changed Commands (Admin Commands)
- Admin commands are no longer running from the same commands as the normal nickname commands, they are now as follows
/nick admin set <username> <nickname>
/nick admin reset <username>
/nick admin delete <username> <nickname>
Removed:
- Removed the ability to save a nickname for someone else
- Removed the 'restrictive' and 'full' admin permissions, when setting a nickname for someone else, the plugin will always use the admins' permissions for parsing
- Removed the 'save' permission, for the above listed reason
Permission Changes:
- Added:
simplenick.bypass.nick-protection
- Allows bypassing the new nick protection options - Color permissions have been moved out of the 'nick' node, and into their own 'color' node, and 'reset' has been moved into the color node
Old | New |
---|---|
simplenick.nick.color |
simplenick.color.basic |
simplenick.nick.gradient |
simplenick.color.gradient |
simplenick.nick.rainbow |
simplenick.color.rainbow |
simplenick.nick.format.reset |
simplenick.color.reset |
- Format permissions have also been moved out of the 'nick' node, into a 'format' node
Old | New |
---|---|
simplenick.nick.format.underline |
simplenick.format.underline |
simplenick.nick.format.italic |
simplenick.format.italic |
simplenick.nick.format.strikethrough |
simplenick.format.strikethrough |
simplenick.nick.format.bold |
simplenick.format.bold |
simplenick.nick.format.obfuscated |
simplenick.format.obfuscated |
- Admin nickname set permissions have been consolidated
Old | New |
---|---|
simplenick.admin.restrictive |
simplenick.admin.set |
simplenick.admin.basic |
simplenick.admin.set |
simplenick.admin.full |
simplenick.admin.set |
Placeholder API changes:
- Placeholder now starts with
simplenick
to be consistent with the permissions and other naming schemes - Two new placeholders have been added:
prefixed-mininick
andprefixed-nickname
- The prefixed placeholders will insert the configured prefix, this was previously the default behavior, so you might need to use this one if you need that
Old | New |
---|---|
%simplenicks_mininick% |
%simplenick_prefixed-mininick% |
%simplenicks_nickname% |
%simplenick_nickname% |
None | %simplenick_mininick% |
None | %simplenick_nickname% |
What's Changed
- Fix Code by @RhythmicSys in https://github.com/Simplexity-Development/SimpleNicks/pull/7
locale.yml
has been reformatted. You will need to redo any custom messages.
Command Changes:
- Admins can now save and delete other players' nicknames
- I assume this will mostly be used in GUIs but idk maybe admins will need it too lol
Permission Changes:
- changed
simplenick.usernamebypass
intosimplenick.bypass.username
- added
simplenick.bypass.length
- added
simplenick.bypass.regex
- added
simplenick.admin.save
- Allows admins to save a user's nickname for them- Command Usage:
/nick save <player>
- Command Usage:
- added
simplenick.admin.delete
- Allows admins to delete someone's saved username- Command Usage:
/nick delete <player> <nickname>
- Command Usage:
- added
simplenick.nick.save
- Allows a user to save their current name- Command Usage:
/nick save
- Command Usage:
- added
simplenick.nick.delete
- Allows a user to delete their own saved nickname- Command Usage:
/nick delete <nickname>
- Command Usage:
Full Changelog: https://github.com/Simplexity-Development/SimpleNicks/compare/1.0.0...2.0
- Fix an issue where locale messages would not actually be reloaded
- added these lines to the locale (you will need to add them manually if you already have a locale)
nick-save-success: "<prefix><green>Success! The nickname <nickname><reset><green> has been saved for future use"
nick-save-failure: "<prefix><gray>Failed to save current username."
nick-save-failure-too-many: "<prefix><gray>You have too many saved usernames, please remove some with /nick delete <nickname>"
nick-delete-success: "<prefix><gray>The nickname <nickname><reset><gray> has been successfully removed from your saved names"
nick-delete-failure: "<prefix><gray>Failed to delete given username."
Added
- Ability to consider double-quoted strings as a single argument in commands.
- To use a literal double-quote, escape it with
\"
. - To use an literal escape symbol, escape it with
\\
.
- To use a literal double-quote, escape it with
Fixes
- Config does not reload cause forgot to call reloadConfig() off of the plugin instance. Oops.
Dependencies
- Updated Paper API to 1.20.4
- Updated Placeholder API to 2.11.5
Full Changelog: https://github.com/Simplexity-Development/SimpleNicks/compare/0.0.4-beta...1.0.0
v0.0.4-beta
What's Changed
- Abstract saving loading by @Peashooter101 in https://github.com/ADHDMC/SimpleNicks/pull/5
- Adds
FILE
type save handling (does not transfer over current PDC nicknames) config option - Adds
- Adds
/nick save
which will save your current nickname, and add it to the tabcompletion list when you do/nick set
- requires
simplenick.save
permission
- requires
- Adds
/nick delete <name>
which will delete a nickname from your saved nicknames- requires
simplenick.delete
permission
- requires
- Adds placeholderAPI placeholder:
%simplenicks_mininick%
which will give the unparsed, minimessage formatted nickname (example of mine):
⚠️ Note
You will need to delete your config.yml and have the plugin regenerate it on startup. The default save type is now "file", and old nicknames will not be seen. If you want to switch back to PDC saving, change the save type and restart your server.
Full Changelog: https://github.com/ADHDMC/SimpleNicks/compare/0.0.3-beta...0.0.4-beta
Full Changelog: https://github.com/ADHDMC/SimpleNicks/compare/0.0.2-beta...0.0.3-beta
- There is now a config, where you can set max nickname length, and configure the regex of allowed nickname characters
- A new format permission was added:
simplenick.nick.format.reset
for the<reset>
tag - The
simplenick.admin
permission has been expanded into 4 different permission options:simplenick.admin.reset
: reset other people's nicknamessimplenick.admin.restrictive
: set other people's nicknames, according to the other person's formatting permissionssimplenick.admin.basic
: set other people's nicknames, according to the admin's formatting permissionssimplenick.admin.full
: set other people's nicknames, regardless of any permissions (note, all minimessage tags will be parsed with this, including click event, hover, insert, etc)
- Fixed some spelling issues in the
plugin.yml
permissions list (some permissions were listed assimplenicks.
instead ofsimplenick.
Full Changelog: https://github.com/ADHDMC/SimpleNicks/compare/0.0.1-beta...0.0.2-beta
- Fixes plugin.yml's declared permission on
/nick
to besimplenicks.nick.set
- Adds functionality to the tag permissions
/simplenicks help
now generates a help menu