summaryrefslogtreecommitdiff
path: root/example/src/main/java/com/nemez/cmdMgrExample/example.cmd
blob: da36e4477d600d90f41a709959251533de0489ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

command home {
        alias h;
        alias bleh;
	set [string:name] {
		[int:x] [int:y] [int:z] {
			run home_set_coords name x y z;
			perm home.set.xyz;
			help Sets a new home at coordinates XYZ;
		}
		run home_set name;
		perm home.set;
		help Sets a new home;
		type none;
	}
	del [optional:-a] [string:name] {
		run home_del name -a;
		help Deletes a home\n&cCannot be undone!;
		perm home.del;
	}
	list {
		help Shows all homes;
		run home_list;
		perm home.list;
	}
	[string:name] {
		perm home.tp;
		help Teleports to a home;
		run home_tp name;
	}
	yolo swag {
		perm yo.mamma;
		help Reks you;
		run noskope;
	}
}