You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Claycorp edited this page Sep 2, 2014
·
1 revision
Editing of certain player data.
How to make this reward.
####1. Pick a type.
Health - Edits the players Health.
Hunger - Edits the players Hunger.
Saturation - Edits the players Saturation.
XP - Edits the players XP.
XP Levels - Edits the players Levels of XP.
Flight - Give or Remove Flight on the player.
Invulnerability - Give or Remove Invulnerability on the player.
####2. Pick an Operation.
Set - Sets the Type to the time in Amount. NOTE: Setting a value will overwrite any other values.
Add - Adds Amount to the Types timer.
Subtract - Removes Amount from the Types timer.
Enable - Time in seconds this Type is Enabled.
Disable - Time in seconds this Type is Disabled.
####3. Set how much is given/taken or how long something will go for.
NOTE: Set, Add, Subtract, Enable and Disable DO NOT work on all Types. This is intentional.
Example:
Enables Flight for 60 seconds.
JSON breakdown
#####"type": "INT:0"
What Type is used. (0-6)
#####"operation": "INT:0"
What Operation is used. (0-4)
#####"amount": "FLOAT:0"
The amount that is being applied to the Type with the selected Operation.