Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 136
    • Issues 136
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Wiki
    • Skills
    • Mechanics
  • setscore

setscore · Changes

Page history
Added title bar, removed double title. formatted headers, colorized example. authored Oct 20, 2023 by Dante's avatar Dante
Hide whitespace changes
Inline Side-by-side
Showing with 8 additions and 9 deletions
+8 -9
  • skills/mechanics/setscore.md skills/mechanics/setscore.md +8 -9
  • No files found.
skills/mechanics/setscore.md
View page @ 313595b5
Mechanic: SetScore
================== ==================
*Added in version 2.3* *Added in version 2.3*
## Description:
Modifies the scoreboard-objective value of a fake player name. Works Modifies the scoreboard-objective value of a fake player name. Works
like the [Modify Score](/skills/mechanics/modifyscore) mechanic, but is like the [Modify Score](/skills/mechanics/modifyscore) mechanic, but is
only capable of performing the **set**-action. only capable of performing the **set**-action.
Attributes ## Attributes:
----------
| Attribute | Aliases | Description | Default | | Attribute | Aliases | Description | Default |
|-------------|---------|----------------------------------------------------------------------------------------------------------------------------------|---------| |-------------|---------|----------------------------------------------------------------------------------------------------------------------------------|---------|
...@@ -17,15 +17,14 @@ Attributes ...@@ -17,15 +17,14 @@ Attributes
| name, entry | n, e | The name of the fake player | dummy | | name, entry | n, e | The name of the fake player | dummy |
Examples ## Examples:
----
This example will set the score of a player named This example will set the score of a player named
"Bob" for the objective "TestScore", even if that player doesn't exist "Bob" for the objective "TestScore", even if that player doesn't exist
on the server. on the server.
It will create the objective if it does not currently exist. It will create the objective if it does not currently exist.
```yaml
Skills: Skills:
- setscore{o=TestScore;e=Bob;v=1} ~onInteract - setscore{o=TestScore;e=Bob;v=1} ~onInteract
```
![](https://i.imgur.com/0HKvAUM.png) ![](https://i.imgur.com/0HKvAUM.png)
\ No newline at end of file
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Mythic Add-ons
Compatible Plugins
API Information
Packs
Mobs
  • Mob Options
    • Display Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Templates
  • Vanilla Overrides
  • Extra: Disguises
  • Extra: ModelEngine
Skills
  • Mechanics
  • Effects
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Metaskills
  • Placeholders
  • Variables
  • Math
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drop Types
Spawning
  • Spawners
  • Random Spawns
Stats
  • Custom Stat Options
  • Modifiers
  • Built in Stats
Examples
Useful Tips