-
Notifications
You must be signed in to change notification settings - Fork 18
Migration from NexEngine
When migrating from NexEngine dependency to nightcore you will have to update the following things:
- Langauage config (color codes).
- Menu configs (button types).
- Main config (plugin prefix).
nightcore uses new, modern Text Formation. This means all legacy color codes, such as &a
, &l
, #ff0000
will not work until you change them using nightcore formation.
However this might be a huge amount of work for some language configs, so you can enable Legacy Color Support
in /nightcore/config.yml
for a quick fix. BUT you should NOT use this option forever! You should anyway update your language config using new formation as soon as possible.
Also, you should update old Message Options to new Message Tags. However it's still compatible.
If some messages appears to be broken no matter what, just remove it completely to generate a working one on plugin reload.
Some button types (the ones you set with Type
setting) might be different from what was provided with NexEngine, so you have to change them. A list of all actual & available button types present in each menu config in comments above the Content
section:
# ==================== GUI CONTENT ====================
# You can freely edit items in this section as you wish (add, remove, modify items).
# The following values are available as button Types:
# ACCEPT
# CLOSE
# RETURN
# ==================================================
Content:
confirm:
Type: accept
# ...other things...
The only thing you need to change there is replace %plugin_name%
placeholer in Plugin.Prefix
setting with a plugin name (or whatever you want it to be).
- β¨ Commands
- β Permissions
- π Migration from NexEngine
- π Text Formation
- π¬π§ Language Formation
- π§ Item Settings