Commit graph

1024 commits

Author SHA1 Message Date
Twitchy
0a69d1ae3b Merge branch 'master' of git://github.com/TShock/TShock 2011-06-25 04:16:56 +12:00
Twitchy
7ddc74890b /warp list only shows warps from current world 2011-06-25 04:16:09 +12:00
Deathmax
840c91d341 Merge remote-tracking branch 'origin/master'
Conflicts:
	TShockAPI/Commands.cs
2011-06-24 22:45:34 +08:00
Deathmax
a0c71e7b30 /setspawn spawn shouldn't save into world file unless using /savespawn 2011-06-24 22:43:17 +08:00
Twitchy
4978e2960c Fixed /setspawn creating spawn 3 tiles too high 2011-06-25 02:35:24 +12:00
Twitchy
b2271f980e Merge branch 'master' of git://github.com/TShock/TShock 2011-06-25 01:43:52 +12:00
Twitchy
90cfb8266b Fixed a bug where tp-ing would delete blocks where you spawn 2011-06-25 01:43:04 +12:00
Deathmax
679a28af0a Added /displaylogs. Toggles log output to player who executed the command. 2011-06-24 21:32:04 +08:00
Twitchy
176a5d8f5a saves worldID to setspawn when using /setspawn command 2011-06-24 20:36:56 +12:00
Twitchy
f790d9378c Added /setspawn command, uses "cfg" permmission. Sets the spawn point of the server 2011-06-23 19:34:27 +12:00
Twitchy
c45696efb2 Changes region allow to use IP addresses rather than names. Cancels out name spoofing. 2011-06-23 16:11:58 +12:00
Twitchy
640382d898 Added region allowed users. May require setting up regions again 2011-06-23 08:06:11 +12:00
Twitchy
2e752ca2d0 Merge branch 'master' of git://github.com/TShock/TShock 2011-06-22 19:52:27 +12:00
Twitchy
d2c1082c59 Adds banned items. Delete groups.txt and run server once. 2011-06-22 19:51:10 +12:00
Graham Cantin
c86f9ec792 Updated text for various Warp & Teleport commands 2011-06-21 23:11:56 -08:00
ricky
2807bb70ab Fixed my mistake in if condition 2011-06-22 15:23:38 +10:00
Twitchy
0a5b14644d Allowed /warp list without page num 2011-06-22 17:11:27 +12:00
ricky
2f6c6bd1a4 region define/delete handles names with spaces not wrapped in quotes (protect requires quotes around the name since region name is not the last argument). 2011-06-22 15:09:20 +10:00
ricky
6b1310ba4c Add/Delete warp handles name with spaces if not wrapped in quotes.
Added warp list <num> which shows 15 warps at a time
Disallowed addition of warp with name list
2011-06-22 14:48:44 +10:00
Twitchy
db1edd3f98 Added world specific regions and warps. Added logging. reagions and warps will require redoing 2011-06-22 16:26:12 +12:00
ricky
25472ea497 Notify player if wrap is unavaiable 2011-06-22 13:59:24 +10:00
ricky
43cd69b330 Moved whitelist in its own premission. 2011-06-22 13:56:12 +10:00
ricky
c06502faf6 Added warp premission to use warp.
Added managewarp premission to add/remove wrap positions.
Moved time to time premission (from cfg).
Moved butcher to butcher permission (from cheat).
Moved whitelist to cfg premission (from maintenance).
Added all the available premission in the group.txt with short description for each.
2011-06-22 13:34:35 +10:00
Twitchy
85a27f421a Addded writing warps, changed some region commands, /region help displays correct information 2011-06-22 08:05:45 +12:00
Twitchy
517b4ea69c Added warps to tshock, edited some region commands 2011-06-21 22:50:56 +12:00
Twitchy
ad352492a9 Adds protected regions. Use /region help ingame for extra help 2011-06-21 17:47:36 +12:00
Twitchy
8257c1ad18 Merge branch 'master' of git://github.com/TShock/TShock 2011-06-21 16:38:16 +12:00
ricky
c3f274f307 Added better warning message when teleport is unavaiable 2011-06-21 14:26:54 +10:00
Twitchy
93e381a0a7 Merge branch 'master' of git://github.com/TShock/TShock 2011-06-21 16:13:49 +12:00
ricky
9106a56524 Guard against tp commands run from server console 2011-06-21 13:51:35 +10:00
ricky
aa9d627f69 Moved Teleport to TSPlayer and added Spawn
Warn player teleport is not possible if custom spawn point is set.
/home now take you to spawnpoint (custom if set else main spawn point)
2011-06-21 13:47:31 +10:00
ricky
dd63436d29 Since no matching command was found returning false so other plugin after TShock have chance to handle the chat message. 2011-06-21 13:03:02 +10:00
Twitchy
2811a68002 Merge branch 'master' of git://github.com/TShock/TShock 2011-06-20 18:49:26 +12:00
Lucas Nicodemus
4ae62f53a7 Added it for real this time.
Closes #90
2011-06-20 00:28:28 -06:00
Lucas Nicodemus
5b0716c8ee Added whitelist command. 2011-06-20 00:26:58 -06:00
Lucas Nicodemus
4d200ee24a Pretty sure that we don't need assume that there aren't other commands from other plugins. 2011-06-20 00:06:03 -06:00
Twitchy
66864f30d0 Allowed plugins to add new commands to TShock dictionary 2011-06-20 17:37:37 +12:00
ricky
4332ea9b73 Issue #102 Fixed /item only using the first argument instead of joining all string for people who don't put quotes around item name with spaces 2011-06-20 10:42:29 +10:00
ricky
bf49ae7b99 Added InventorySlotAvailable to TSPlayer
Using TSPlayer.GiveItem from /item and /give
Fixed TSPlayer.GiveItem not setting stack size
2011-06-17 16:17:28 +10:00
ricky
4dc5d7f58e Added GiveItem in TSPlayer
/heal using GiveItem from TSPlayer
Added GetItemById and GetItemByName in Tools
2011-06-17 15:28:23 +10:00
ricky
8dc1bcff0d Added /king to spawn king slime.
/eater, /eye, /king, /skeletron and /hardcore accept an optional amount arg
/skeletron changes time to night before spawning (still have to set time manually if using /spawnmob "Skeletron Head")
2011-06-17 14:29:48 +10:00
ricky
e1aa43179b Added an optional bool arg to /butcher to toggle whether to kill friendly monsters (bunnies/goldfish). Default is killFriendly (/butcher false to save all goldfish and bunnies). 2011-06-17 13:42:39 +10:00
ricky
4ac4571bb1 Fixed /password, /p and /me throwing IndexOutOfBoundsException when no text is entered. 2011-06-17 13:28:13 +10:00
ricky
8fa4687f33 Randomized spawn point for mobs (range 50x20 tiles in all directions) 2011-06-17 13:11:28 +10:00
ricky
b290802e6a Errr forgot the for loop for amount 2011-06-17 11:28:09 +10:00
ricky
51aa337839 Added support to spawn all types of slimes (have to use the full exact name)
Added SpawnNPC in TSServerPlayer
Warn user if multiple mob with name are found
2011-06-17 11:21:37 +10:00
ricky
7bccfbe441 Added Disconnect, SendTileSquare, SetPvP to TSPlayer
Added SetBloodMoon, SetTime, StrikeNPC to TSServerPlayer
2011-06-17 02:09:30 +10:00
ricky
6ed2b5044d Pulled the duplicated code for handling commands into helper method 2011-06-16 14:03:06 +10:00
ricky
ad456ac7b6 Added sm alias for spawnmob 2011-06-16 13:20:27 +10:00
ricky
f84949affa All commands now working from console (some print message that they can't be performed from console)
PlayerDamage accept TSPlayer
Added property to check if TSPlayer is real and if connection for that player is alive
2011-06-16 13:18:48 +10:00