-
Notifications
You must be signed in to change notification settings - Fork 34
nameOfObjectives
SPGoding edited this page Apr 26, 2020
·
1 revision
Enforce a consistent scoreboard objective naming convention.
- (
"camelCase"
) - (
"PascalCase"
) - (
"snake_case"
) - (
"SCREAMING_SNAKE_CASE"
) - (
"kebab-case"
)
{
"nameOfObjectives": null
}
scoreboard objectives add testObjective dummy
scoreboard objectives add TestObjective dummy
scoreboard objectives add test_objective dummy
scoreboard objectives add TEST_OBJECTIVE dummy
scoreboard objectives add test-objective dummy
{
"nameOfObjectives": ["warning", "camelCase"]
}
scoreboard objectives add testObjective dummy
scoreboard objectives add TestObjective dummy
scoreboard objectives add test_objexctive dummy
scoreboard objectives add TEST_OBJECTIVE dummy
scoreboard objectives add test-objective dummy
This rule was introduced in DHP 2.0.0.