QuestCreator - Variables system

Apr 1, 2017
QuestCreator - Variables system
  • [​IMG]

    Table of contents :

    1. Commands and permissions
    2. Plugin storage system and configuration
    3. Create your first quest : settings, actions and tasks
    4. Variables system
    5. Advanced quest configuration
    6. NPCs
    7. Runnable jar GUI and developers API


    4. Variables system

    The plugin has an advanced variable system.
    The variables can affect the player's quests in many ways. For example, you can use them in all the quests for making multiple choices and dialogs that affect the current quest or even other quests, or preventing player to do something, etc.

    Some things to know about the variables :
    • Every variable can be assigned to anything that is on one line (numbers, strings, booleans or whatever). Lists aren't allowed.
    • The variables are NOT global, which means every value associated to a variable is different for each player. For example, if there is a variable called "test", this variable can be associated to value 1 for player Notch and associated to value 2 for player PYRRH4).
    • The variables names and values are both case sensivite.
    • If you want a variable to have a default value, you can set it in the configuration, in the "variables" list. If you don't register it in the configuration, you will still be able to use it, but it won't have a default value and it could create minor problems, so it's preferable to do it.
  • Loading...
  • Loading...