Commit graph

440 commits

Author SHA1 Message Date
Twitchy
5a38810305 Players can now TP if they have a bed set, though their bed spawn will be destroyed 2011-06-23 19:33:40 +12:00
Twitchy
ad352492a9 Adds protected regions. Use /region help ingame for extra help 2011-06-21 17:47:36 +12: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
high
c901e8482d Backups added
Pvp throttle added
2011-06-17 21:12:37 -04:00
ricky
ea0c091355 Added RevertKillTile to TSServerPlayer 2011-06-18 02:11:02 +10:00
ricky
701659f62a Increased the area used for random spawn points. (mob spawn area now 100 tiles right/left and 50 tiles up/down of player) 2011-06-17 18:53:04 +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
8fa4687f33 Randomized spawn point for mobs (range 50x20 tiles in all directions) 2011-06-17 13:11:28 +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
8d1377c7cf ಠ_ ಠ 2011-06-16 16:17:00 +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
ricky
a976c51101 ForceKick now takes in TSPlayer instead of int
Removed Tools.GetPlayerIP, use TSPlayer.IP instead
2011-06-16 01:04:28 +10:00
ricky
a8df558fe2 Added IP to TSPlayer 2011-06-15 16:10:27 +10:00
ricky
43ecc064bd Added Team to TSPlayer
Updated Tools.NewNPC to take in NPCList and TSPlayer
Broadcasting when anti-build or spawn protection is toggled
2011-06-15 15:00:33 +10:00
ricky
3af6e990dc Kick/Ban now take TSPlayer instead of player index 2011-06-15 13:41:49 +10:00
high
e9dd445055 Console can now use ingame commands. Although they are the chat commands so right now some wont work like the ones that spawn bosses at you, etc. 2011-06-14 21:44:32 -04:00
high
f31bae459e Fixed GetData now logs exceptions as Terraria will swallow the exception.
Removed FindPlayer(int)
Removed Tools.SendMessage
Added TSPlayer.SendMessage to replace it
Changed FindPlayer(string) now returns List<TSPlayer>
2011-06-14 21:08:13 -04:00
high
760a81f74e replaced tshock.position with vector2 2011-06-14 19:51:54 -04:00
high
12946c8a63 Removed pointless unbanip permission.
TSPlayer improved.
2011-06-14 19:49:45 -04:00
high
f233ef82e5 Sub classes are ugly as hell. 2011-06-14 19:28:20 -04:00
high
c3bf304c0c Changed the TSPlayer class. 2011-06-14 16:54:30 -04:00
Shank
169950d1fd Added year and author name to GPL ness. 2011-06-12 01:20:20 -06:00
Maverick Motherfucker
3a2c6bb314 gpl up in dis bitch 2011-06-11 21:35:29 -07:00
high
9dee779a27 Fixed exploit allowing client to send client info packet more than once.
Fixed exploit allowing client to send tile square.
2011-06-06 21:00:32 -04:00
high
a7e912c9f4 Fixed impossible placing 2011-06-06 19:55:04 -04:00
Shank
43b968e37f Added ban for placing impossible to place tiles and liquids.
Added ban for attempting to place non-existent liquids.
2011-06-06 16:38:41 -06:00
Shank
dfc4325e59 ReSharper Code optimization 2011-06-05 23:36:41 -06:00
Maverick Motherfucker
7c2f62d1be merged master into permissions-devel 2011-06-05 12:12:48 -07:00
Deathmax
39edac96b0 Kill tile abuse now reverts the tiles.
Water acts glitchy (as if there was no tiles)
Things like trees and doors are not reverted
2011-06-05 14:16:58 +08:00
Maverick Motherfucker
362b2b776e Removed all referneces to admin and replaced with group permissions 2011-06-04 13:35:52 -07:00
Maverick Motherfucker
8344801128 Started work on revamping command system for permissions, but I'm out for the night, cya tomorrow 2011-06-03 22:28:05 -07:00
Maverick Motherfucker
bb2e9559f0 Added code to convey idea before I write all of it out, also added default config files, everything is subject to change 2011-06-03 21:27:56 -07:00
Maverick Motherfucker
bdd55a4d06 Fixed merge 2011-06-03 19:57:58 -07:00
Maverick Motherfucker
fbad9d6d67 Fixed mana and HP first time getting flagged as cheat 2011-06-03 19:51:57 -07:00
Deathmax
16e5cfe342 Fixed issue where players with > 100 MP/HP would get flagged as their max didn't get synced. 2011-06-03 22:38:13 +08:00
Maverick Motherfucker
818348a445 Caching IsAdmin as to optimize load on file system 2011-06-02 21:59:33 -07:00
Maverick Motherfucker
39bc48968a Added TSPlayer class to contain variables that are player specific 2011-06-02 21:26:07 -07:00