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
reverted dante authored Oct 23, 2023 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 9 additions and 15 deletions
+9 -15
  • skills/mechanics/setscore.md skills/mechanics/setscore.md +9 -15
  • No files found.
skills/mechanics/setscore.md
View page @ 4499b186
================== ## Description
*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:
| Attribute | Aliases | Description | Default | ## Attributes
|-------------|---------|----------------------------------------------------------------------------------------------------------------------------------|---------| | Attribute | Aliases | Description | Default |
| objective | obj, o | Specifies the scoreboard objectiv to be changed. If the objective doesn't exist it will automatically be created by the mechanic | | |-----------|-----------|----------------------------------------------------------------------|---------|
| value | v | The value to perform the operation with | | | objective | obj, o | Specifies the scoreboard objectiv to be changed. If the objective doesn't exist it will automatically be created by the mechanic | |
| name, entry | n, e | The name of the fake player | dummy | | value | v | The value to perform the operation with | |
| 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 ```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