QuestCreator v4.0.0-BETA - Added 'pseudo-scripting' features, reworked editor, global variables, ...
Please use DISCORD to get support, it's way faster ! The link is on the plugin page
This changelog contains all the changes related to this plugin.
Thanks to all the community members for reporting bugs and suggesting features. Keep going, so I can make this plugin better !
Also consider leaving a nice review to the plugin if you're satisfied of my work and dedication ! <3
PyrCore v6.0.9-BETA
Improved :
- Minor things in some libraries.
Fixed :
- Minor bugs.
QuestCreator v4.0.0-BETA - "The 'almost-scripting' and editor update"
Reworked the entire setting loading system !
- The back-end is now much more optimized and loading/saving/editor GUI is now 100% automatic, no more duplicate code. We love that !
- Every setting in the quests and categories configuration can now be a constant value (like it was until QC v4), a PlaceholderAPI variable, or a QuestCreator variable. Meaning that every objective or settings can depend on the player ! This is almost scripting !
- For example, you can set 'base: world,%player_x%,50,%player_y%' as a location setting, or 'amount: %heroes_level%' as an amount setting. Now, the possibilities for objectives depending on player status are really infinite.
- It's parsed in real-time, but there's a cache so it doesn't demand too much server resources. Plus, objects goals are parsed when they begin (will not change until completion).
- Some settings have changed, you might have to rework some of your quests (not much though).
Introducing global variables !
- You should always use a global variable if you need to specify an information multiple times.
- Using a global variable allows you to change it easily here in a few seconds instead of searching for it in every quest file to replace it.
- You can use PlaceholderAPI and QuestCreator variables inside global variables and they'll be parsed when needed.
- You can use global variables anywhere in quests or categories configuration by writing {gvariable:VARIABLE_NAME}.
- You can NOT reference other global variables in a global variable (it will be displayed as plain text).
- Global variables can be defined in /plugins/QuestCreator/gvariables.yml
The editor was reworked !
- The categories can now be edited in-game.
- The global variables can now be edited in-game.
- Now displaying the accurate setting name as the item title.
- Now displaying a description for every setting.
- Now displaying a complete description of child settings in the parent setting lore.
- Now dispalying if the value corresponds to the default value.
- Now displaying if the value is mandatory or not.
- Added a reset/delete button for every setting.
Added :
- Object 'PLAYER_CHAT_VARIABLE', takes what the player typed in the chat and put it in a variable. (for Ing1011)
- Setting 'amount' for objects 'PLAYER_ACHIEVEMENT_AWARD', 'PLAYER_PORTAL_ENTER', 'PLAYER_PORTAL_EXIT'.
- Setting 'location' for object 'CONDITIONS'.
- Setting actions 'STARTBRANCH [branch id]' and 'STOPBRANCH [branch id]' for object 'SERVER_ACTIONS_LIST'.
- Setting 'gui_show_unavailable' for categories. (for Twister_one)
- Parameter '-delete|del|remove|rem' for command '/qc variable'. (for Ing1011)
Improved :
- Object 'SERVER_BRANCHES_ACTIONS' was removed (since SERVER_ACTIONS_LIST has its actions now).
- Setting 'value' for object 'SERVER_VARIABLE_CHANGE' can now contain QuestCreator variables, PlaceholderAPI placeholders and global variables.
- Command '/qc -edit' is now '/qc edit'.
- Command '/qc -list' is now '/qc list'.
- The behavior and back-end of the group object has been improved.
- An error message is now displayed when an attempt of starting a quest has failed, depending on the player's permissions.
Fixed :
- Object 'PLAYER_ITEM_CRAFT' was duplicating amounts. (for Yuky)
- Setting 'item_available_category' for quests wasn't replaced by 'item_available' if missing. (for Twister_one)
- Setting 'item_available_category' for quests is now working as intended. (for Matrikx)
- Setting 'selection_gui_when_one_quest' for categories will now behave properly. (for Ing1011)
- GUIs for activators 'NPC', 'ENTITY', 'PRECISE_ENTITY' and 'BLOCK' will now behave properly. (for CraftSteamG, Matrikx, _Anglis, Ing1011)
- Activators 'NPC', 'ENTITY', 'PRECISE_ENTITY' and 'BLOCK' will no longer display 'completed' particles when the quest is unavailable. (for Twister_one)
- Parameter '-edit' wasn't checking permissions properly.
- The actionbar will no longer display objects during their waiting time.
- Integration for Heroes would throw an error on loading if McMMO wasn't installed.
- Quests for NPCs loaded from compact npc categories weren't loaded properly and couldn't be started. (for Twister_one, Lordinouille, _Anglis)
Misc :
- Updated the example quest to use the new features of this update. Hop on the test server to try it out !
- Updated the wiki. From now on, object and condition type list will be generated automatically.