YOU MUST USE nightcore v2.6.3 TO INSTALL THIS UPDATE! BACKUP ALL YOUR SUNLIGHT DATA BEFORE INSTALLING THE UPDATE!
DO NO UPDATE IN PRODUCTION UNLESS YOU UNDERSTAND THE CHANGES!
THIS UPDATE AIMED TO FIX VARIOUS BUGS AND ISSUES, AS WELL AS IMPLEMENT VARIOUS MINOR QUALITY OF LIFE IMPROVEMENTS.
THE MOST PART OF THE PLUGIN WAS RECODED AND UPDATED TO USE THE MOST MODERN nightcore's API.
OVERALL PERFORMANCE AND STABILITY HAS BEEN SIGNIFICALLY IMPROVED.
WE'RE WORKING ON IMPLEMENTING ALL PLANNED & SUGGESTED FEATURES IN NEXT RELEASES. STAY TUNED.
BREAKING CHANGES: - [Core] Everything in the 'commands.yml' config file is not valid anymore. Please use 'command-map.yml' config that provides better and more convient configuration. It has the same default command shortcuts as previous one. - [Core] Players will lose their custom names due to database change on how they are stored. This fixes latest known issues related to custom player names. - [Core] Some permissions has been changed, especially ones related to commands that has dedicated modules now. - [Bans] BANS MODULE RELATEDLocalization is not valid and must be regenerated/re-translated/re-customized. - [Chat] The whole CHAT MODULE configuration is not valid and must be regenerated. - [Custom Text] Now in dedicated 'custom_text' module, and in YAML format. See default configs to transfer your current texts. - [Spawns] Default and New Player Teleport settings moved out to the settings.yml since they should be bound to a single spawn only. Make sure to check them out.
NEW:
[Core] Command Map configuration. Edit ANY plugin command by adding or removing sub-commands, aliases, and create your own variants of the plugin commands!
[Module] Back Location. Controls player's previous and death locations.
[Module] Custom Text. Display custom texts to players with commands, like /rules, /motd, etc.
[Module] GodMode. Dedicated module for /god and /foodgod commands.
ADDED:
[Core] Support for 1.20.6 / 1.21
[Core] /item repair commands.
[Core] Weather type command permissions.
[AFK] Config options for player activities.
[Bans] Silent '-s' flag for all commands.
[Homes] Permission to bypass set & visit homes at unsafe locations.
[Tab] Animation support for tablist name format.
IMPROVED:
[Core] Shortcuts are (techically) not a thing anymore. Now all commands are fully independent to each other. You don't have to create shortcuts for certain commands, you can now just specify the command executor for your command. Learn more on plugin manual. This became possible with the new nightcore commands API.
[Core] Experience command produces more accurate results now, added better messages and arguments.
[Core] Command /near print players in ascending distance order now.
[Core] Added full support for text components where possible.
[Core] All default configuration creation moved to the code now instead of raw preconfigured YML files.
[AFK] Better configuration for idle & kick time options.
[Bans] Recoded module logic. Removed IP mute/warn/kick. Split IP and player punishments.
[Bans] Split GUI configuration for player/IP history and global punishments list.
[Bans] Added dynamic GUI lore for expire/delete actions (players without permissions won't see those lines).
[Bans] Added buttons to show expired punishments, change sort/display order.
[Bans] Duration limits now applies to unban commands too! e.g. players can not remove bans/mutes/warns that has duration greater than possible limit.
[Bans] Rank priority check works for offline players now.
[Chat] Added config section for chat components to use them in chat format for better readability and configuration.
[Chat] Item Show in Private Message now properly injected into message text instead of sending extra message with item component.
[Chat] Every announcer now have individual settings for random order and display interval.
[Chat] Better Death Messages using new DamageSource API.
[Extras] Added supported to run commands by a player on join (actually a nightcore's feature).
[Extras] Added color tags support in anvil and sign colors.
[Homes] Added safe location check on home creation & teleport.
[Kits] Greatly improved Kits GUI. More dynamic lore, hide unnecessary elements, added an option to hide kits if player don't have permission.
[Warps] Greatly improved Warps GUI. More dynamic lore, hide unnecessary elements, added more buttons and placeholders.
[Worlds] Settings of default worlds can be changed in editor now.
CHANGED:
[Core] /feed command now has config options for food level and saturation values. Saturation flag have been removed.
[Core] Commands /fly, /afk now accepts explicit mode values (on/off/toggle) only instead of using flags.
[Core] /heal command was removed and merged with /health command as /health restore sub-command. Flag to clear effects was removed and replaced by config option.
[Core] /inventory fill command now accepts only one material name and fills only empty inventory slots.
[Core] Removed all flags from /mob commands. World and radius are optional arguments now instead of flags.
[Core] Command /item flag temporary removed due to MC changes.
[Core] Split /time command on /time and /ptime.
[Core] Move teleport request commands into dedicated module: PTP.
[Core] Weather types in /weather command are sub-commands now instead of being arguments.
[Core] Split /sudo command arguments on /sudo chat and /sudo command sub-commands.
[Core] Split /skull command on /skull custom and /skull player sub-commands.
[Core] Command /playerlist changed to /staff command and displays players of certain ranks only.
[Core] /feed command was removed and merged with /food command as /food restore sub-command.
[Core] Move commands /back and /deathback into dedicated module: Back Location.
[Core] Command /equip turned back into /hat.
[Extras] Move NerfPhantoms feature into dedicated module: Nerf Phantoms.
[Kits] Merge /kits get and /kits give commands into one.
[Worlds] Some settings were removed from the editor since they aren't peristent anyway.
FIXED:
[Core] A bug, where ignored users for Private Message were checked by name instead of UUID.
[Core] A bug, where /air, /enchant, /flyspeed commands not saving data for offline players.
[Core] Small inconvience in /flyspeed command.
[Core] A bug, where PlaceholderAPI expansion dies sometimes.
[Core] Optimized InetAddress string check to not use regex.
[Core] A bug, where 'nick_change' command can fail if new nick partially matches other player name instead of exact match.
[Core] Various minor bugs and mistakes in /item commands.
[Core] A bug, where /ptime set command sends notification message to command executor instead of a target player.
[Core] A bug, where /tp location command destination location was inside a block and not centered.
[Core] A bug, where /tp summon, /tp send, /back and /deatback commands overrides player's pitch and yaw.
[Bans] A bug, where ban/mute/warn list throw an error if there was no player data file in the world folder to fetch their skin.
[Kits] Broken priority sorting in Kits GUI.
[Spawns] A bug, where code logic for respecting bed spawn location option wasn't implemented at all.
[Spawns] A bug, where settings.yml was always empty.
[Spawns] A few possible bugs related to login spawns.
[Warps] Warp cooldown not applied for warp owner anymore.
[Warps] Warp visit cost not applied for warp owner anymore.
[Worlds] A bug, where world settings & game rules reset after world's auto-wipe.
[Worlds] A bug, where worlds can not be unloaded because of players in them.