Skip to content

#4 Commands & Permissions

zThana edited this page Sep 3, 2024 · 2 revisions

image

image
Aliases: traces, thanar, thanaraces, racesofthana, rot, races, race

Commands

<> = mandatory arguments || [] = optional arguments

Command Description Syntax Example Permission
races gui Open the race GUI for a player /races gui /races gui zThana racesofthana.gui, racesofthana.gui.others
races token Give the race token to a player /races token /races token zThana racesofthana.token.* (view plugin.yml below)
races inspect Check the race of a player /races inspect /races inspect zThana racesofthana.inspect, racesofthana.inspect.others
races count (Debugging tool) View all races and amount of online players of each /races count /races count racesofthana.count
races debug (Debugging tool) View in-depth information about a race, config.yml or lang.yml /races debug <race/config/lang> /races debug config racesofthana.debug
races preview Preview the race GUI. This opens the race GUI but you cannot click on any of the items /races preview /races preview racesofthana.preview
races reload Reload the plugin's configuration files /races reload /races reload racesofthana.reload
races spawn Go to a race's spawn. If no race is specified, teleport to your race's spawn /races spawn [race] /races spawn, /races spawn elf racesofthana.spawn, racesofthana.spawn.override
races setspawn Set the spawn of a race /races setspawn [level] [enabled] [teleportOnLogin] [teleportOnDeath] /races setspawn elf, /races setspawn elf 5 true true false racesofthana.setspawn
races setrace, setrace Set the race of a player /races setrace , /setrace /setrace zThana elf racesofthana.setrace
races unset Unset the race of a player (to nothing) /races unset /races unset zThana racesofthana.unsetrace
racechat Send a message to all online players of your race /rc, /rchat, /racec, /racechat /racechat Hi, elves! racesofthana.racechat

plugin.yml

name: RacesOfThana
main: com.zthana.racesofthana.RacesOfThana
version: 4.0
website: 'https://www.spigotmc.org/members/zthana.11635/'
author: zThana
api-version: 1.21
description: 'The one, and only truly customizable race plugin'
loadbefore:
  - LoreAttributesRecoded
softdepend:
  - Citizens
  - ConditionalEvents
  - PlaceholderAPI
  - PermissionsEx
  - LuckPerms
  - UltraPermissions
  - ModelEngine
  - LibsDisguises
  - CombatLogX
commands:
  racesofthana:
    description: 'Races of Thana - Race Command'
    aliases:
      - traces
      - thanar
      - thanaraces
      - racesofthana
      - rot
      - races
      - race
  setrace:
    description: 'Races of Thana - Setrace Command'
  racechat:
    description: 'Races of Thana - Race Chat Command'
    aliases:
      - rc
      - rchat
      - racec
  racesofthanacallback:
    description: 'Races of Thana - Callback Command'
permissions:
  racesofthana.gui:
    default: op
  racesofthana.gui.others:
    default: op
  racesofthana.racechat:
    default: true
  racesofthana.reload:
    default: op
  racesofthana.editor:
    default: op
  racesofthana.setrace:
    default: op
  racesofthana.unsetrace:
    default: op
  racesofthana.setspawn:
    default: op
  racesofthana.spawn:
    default: false
  racesofthana.spawn.override:
    default: op
  racesofthana.token.*:
    default: op
    children:
      racesofthana.token: true
      racesofthana.token.use: true
      racesofthana.token.give: true
  racesofthana.token:
    default: op
  racesofthana.token.use:
    default: op
  racesofthana.token.give:
    default: op
  racesofthana.inspect:
    default: true
  racesofthana.inspect.others:
    default: op
  racesofthana.count:
    default: false
  racesofthana.preview:
    default: false
Clone this wiki locally