Module:Command/Syntax

From Modded Wiki
Revision as of 12:27, 15 February 2014 by minecraft>Majr (Created page with "return { ['?'] = 'help', help = { "([<''page''>|<''command''>])" }, ban = 'kick', kick = { "<''player''>", "(<''reason''>)" }, ['ban-ip'] = 'pardon-ip', ['pardon-ip'] = ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation for this module may be created at Module:Command/Syntax/doc

return {
	['?'] = 'help',
	help = { "([<''page''>|<''command''>])" },
	ban = 'kick',
	kick = { "<''player''>", "(<''reason''>)" },
	['ban-ip'] = 'pardon-ip',
	['pardon-ip'] = { "<''ip''>" },
	banlist = { "([ips])" },
	clear = { "(<''player''> <''item''>  <''data-value''>)" },
	debug = { "<''operation'':[start|stop]>" },
	defaultgamemode = { "<''mode'':" .. '[<abbr title="Adventure">0</abbr>|<abbr title="Creative">1</abbr>|<abbr title="Survival">2</abbr>]>' },
	deop = 'pardon',
	op = 'pardon',
	pardon = { "<''player''>" },
	difficulty = { "<''difficulty'':" .. '[<abbr title="Peaceful">0</abbr>|<abbr title="Easy">1</abbr>|<abbr title="Normal">2</abbr>|<abbr title="Hard">3</abbr>]>' },
	gamemode = { "<''mode'':" .. '[<abbr title="Adventure">0</abbr>|<abbr title="Creative">1</abbr>|<abbr title="Survival">2</abbr>]>', "(<''player''>)" },
	gamerule = { "<''rule'':[commandBlockOutput|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''>" },
}