Skip to content

Edit

Edit is a global model declarative command used to change a model instance's attribute. If you wanted to change a ball's health, you would use this command.

EDIT > [MODEL-NAME] > [ATTRIBUTE] > [VALUE]
  • MODEL-NAME - The identifier of the model instance you want to modify.
  • ATTRIBUTE - The attribute you want to edit.
  • VALUE - The new value to assign to the attribute.
EDIT-ATTR > [ATTRIBUTE]
| [MODEL-NAME] > [VALUE]
  • ATTRIBUTE - The attribute you want to edit across all instances.
  • MODEL-NAME - The identifier of the model instance you want to modify.
  • VALUE - The new value to assign to the attribute.
EDIT-MULTI > [ATTRIBUTE] > [VALUE]
| [MODEL-NAME]
  • ATTRIBUTE - The attribute you want to edit across all instances.
  • VALUE - The new value to assign across all attributes.
  • MODEL-NAME - The identifier of the model instance you want to modify.

Note

EDIT-FILTER requires a model to be specified.

EDIT-FILTER > [MODEL] > [ATTRIBUTE] > [OLD-VALUE] > [NEW-VALUE]
  • MODEL - The model you want to use.
  • ATTRIBUTE - The attribute whose value you want to search and replace.
  • OLD-VALUE - The value to look for when filtering model instances.
  • NEW-VALUE - The value to assign to all matching instances.

Operations

  • ATTR - Declares a single attribute first, then edits its value across multiple model instances.
  • MULTI - Defines a single attribute and value, then applies that value to all listed model instances.
  • FILTER - Edits all model instances from one value to another.

Examples

Editing Ancient Greece's health without model declaration:

EDIT > Ancient Greece > HEALTH > 1000

Editing Ancient Greece's health with model declaration:

BALL > EDIT > Ancient Greece > HEALTH > 1000

Editing Ancient Greece's attack and health:

EDIT > Ancient Greece
| HEALTH > 1000
| ATTACK > 500

Editing Ancient Greece and Sparta's health:

EDIT-ATTR > HEALTH
| Ancient Greece > 1000
| Sparta > 1200

Editing Ancient Greece, Sparta, and Northern Cyprus's rarity:

EDIT-MULTI > RARITY > 4.0
| Ancient Greece
| Sparta
| Northern Cyprus

Editing Italy and Bulgaria's credits:

EDIT-MULTI > CREDITS > Silly (Spawn & Card)
| Italy
| Bulgaria

Editing all balls with a certain rarity value:

EDIT-FILTER > BALL > RARITY > 4.0 > 5.0

Transferring all balls from one user to another:

EDIT-FILTER > BALL-INSTANCE > PLAYER > 999736048596816014 > 348415857728159745

Disabling all balls:

EDIT-FILTER > BALL > ENABLED > True > False