All pastes #398833 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-03-17 16:02 UTC
rendered paste body
    private static String[][] _adminCommands = {
    	{"admin_spawn_menu",                                       // show spawn menu
    		
    		"Admin Menu - Spawn NPC.",
    	}, 				                       
    	{"admin_spawnsearch_menu",                                 // show page with NPC search results
    		
    		"Admin Menu - NPC search results.",
    		"Usage: spawnsearch_menu level|name|part string <page>",
    		"Options:",
    		"level - list NPC's by level <string>",
    		"name - list NPC's witch name started with <string>",
    		"part - list NPC's where <string> is part of name",
    		"string - part of name or monster level",
    		"<page> - page number with results search"
     	},
     	{"admin_spawndelay",									   // respawn delay for spawn commands
			
			"Set or show default respawn delay for newly spawned NPC.",
			"Usage spawndelay <sec>",
			"Options:",
			"<sec> - set default respawn time in seconds"
	    },
     	{"admin_spawnlist",									       // get list of NPC spawns
			
			"Show list of regular spawns of NPC.",
			"Usage: spawnlist id",
			"Options:",
			"id - NPC template ID"
	    },
     	{"admin_spawnlist_menu",								   // show list of NPC spawns
			
			"Admin Menu - Show spawns of NPC.",
			"Usage: spawnlist id",
			"Options:",
			"id - NPC template ID"
	    },
     	{"admin_spawn",										       // spawn NPC and save to DB's default
    				
    		"Spawn NPC and store in DB.",
    		"Usage: spawn id <num> <radius>",
    		"Options:",
    		"id - NPC template ID",
    		"<num> - NPC amount to spawn, Default: 1",
    		"<radius> - radius for NPC spawns, Default: 300"
    	},                                       
    	{"admin_cspawn",                                           // spawn NPC and save to DB's custom table
				
    		"Spawn NPC and store in DB in custom table.",
    		"Usage: cspawn id <num> <radius>",
			"Options:",
			"id - NPC template ID",
			"<num> - NPC amount to spawn, Default: 1",
			"<radius> - radius for NPC spawns, Default: 300"
    	},
    	{"admin_otspawn", 					                       // spawn NPC but do not store spawn in DB
			
			"Spawn NPC and do not store in DB.",
			"Usage: otspawn id <num> <radius>",
			"Options:",
			"id - NPC template ID",
			"<num> - NPC amount to spawn, Default: 1",
			"<radius> - radius for NPC spawns, Default: 300"
	    },
    	{"admin_unspawnall",                                       // delete all spawned NPC's
	    		
	    	"Delete all spawned NPC's.",
			"Usage: unspawnall",
    	},                                   
    	{"admin_respawnall",                                       // delete all spawned NPC's then respawn again
    		
    		"Delete all spawned NPC's and respawn again.",
			"Usage: respawnall",
    	},                                  
    	{"admin_spawnnight",                                       // spawn night creatures
    		
		    "Spawn night creatures.",
			"Usage: spawnnight",
    	},					               
    	{"admin_spawnday",                                         // spawn day creatures
    		
	        "Spawn day creatures.",
			"Usage: spawnday",
    	}};