Template:Command: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
add clear options
mNo edit summary
 
(19 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<code>{{{b|}}}/{{ lc: {{{1}}} }}{{{b|}}} {{
<includeonly>{{#invoke: command | cmd }}</includeonly><noinclude>
  #switch: {{ lc: {{{2}}} }}
{{documentation}}
  | ? | options = {{
<!-- Put categories/interwiki on the documentation page -->
    #switch: {{ lc: {{{1}}} }}
</noinclude>
    | ? | help = ([<''page''>{{!}}<''command''>])
    | ban | kick = <''player''> (<''reason''>)
    | ban-ip | pardon-ip = <''ip''>
    | banlist = ([ips])
    | clear = (<''player''> <''item''> <''data-value''>)
    | debug = <''operation'':[start{{!}}stop]>
    | defaultgamemode = <''mode'':[<span title="Adventure">0</span>{{!}}<span title="Creative">1</span>{{!}}<span title="Survival">2</span>]>
    | deop | op | pardon = <''player''>
    | difficulty = <''difficulty'':[<span title="Peaceful">0</span>{{!}}<span title="Easy">1</span>{{!}}<span title="Normal">2</span>{{!}}<span title="Hard">3</span>]>
    | gamemode = <''mode'':[<span title="Adventure">0</span>{{!}}<span title="Creative">1</span>{{!}}<span title="Survival">2</span>]> (<''player''>)
    | gamerule = <''rule'':[doFireTick{{!}}doMobLoot{{!}}doMobSpawning{{!}}doTileDrops{{!}}keepInventory{{!}}mobGriefing]> (<''enabled'':[true{{!}}false]>)
    | give = <''player''> <''data-value''> <''amount''> (<''damage-value''>)
    | me = <''action''>
    | say = <''message''>
    | spawnpoint = (<''player''> (<''x''> <''y''> <''z''>))
    | tell = <''player''> <''message''>
    | tp = <''player''> [<''destination-player''>{{!}}<''x''> <''y''> <''z''>]
    | time = <''operation'':[set{{!}}add]> <''number''>
    | weather = <''option'':[clear{{!}}rain{{!}}thunder]> <''time''>
    | whitelist = <''operation'':[add <''player''>{{!}}remove <''player''>{{!}}list{{!}}on{{!}}off{{!}}reload]>
    | xp = <''amount''> <''player''>
  }}
  | #default = {{{2|}}} {{{3|}}} {{{4|}}} {{{5|}}}
}}</code><noinclude>
{{/doc}}</noinclude>

Latest revision as of 10:04, 19 February 2023

[create] [refresh]Documentation
This template has no documentation. If you know how to use this template, please create it.