Commit graph

13 commits

Author SHA1 Message Date
Enerdy
81fff9bd66 Pass down the permission being checked to the EventArgs (thanks @white) 2016-01-11 22:34:22 +00:00
Enerdy
aa419283a9 Add PlayerPermission hook, replace p.Group.HasPermission by p.HasPermission everywhere possible. 2016-01-11 14:37:02 +00:00
Zack Piispanen
015cf61b77 Add logout command and pos command. Closes #872 and Closes #887 2015-03-25 21:17:11 -04:00
Lucas Nicodemus
32218f9be0 PlayerCommandEventArgs passes the command prefix
Fix tab space conflict in PlayerHooks.cs
2015-03-08 16:00:43 -06:00
Zack
f9bf470b1d Tick version and update copyright 2015-01-28 15:29:13 -05:00
Zack
fb451c6d49 Update license header for 2014 2014-07-10 21:48:33 -04:00
Zack Piispanen
99de841f5d Add list of commands that are eligible to be run to the Playercommand hook, so that a plugin may override this.
Add an event for TShock Chat, pushing out the raw text and the text tshock sends, allowing for plugins to run after tshock and change what tshock is sending.
2014-05-24 19:52:23 -04:00
MarioE
3e9aee3414 Begin Raptor compatibility 2013-10-30 22:34:09 -04:00
Zack Piispanen
b22457382e remove unused using statements 2013-09-17 02:24:02 -04:00
Lucas Nicodemus
ae7ab5f234 Updated copyright information to point to 2013. 2013-08-22 21:51:17 -06:00
Zack Piispanen
89571174ec Changed login event to prelogin and postlogin, if you set the args of prelogin to true, the login is ignored. In this case, if the server is loginbeforejoin, you need to kick the player with whatever reason otherwise bad things will happen. 2013-05-25 20:13:39 -04:00
Scavenger3
93fc6e4866 Added PlayerCommand Event 2013-01-13 18:29:16 +10:00
Zack Piispanen
9960526384 Fixed visibility of PlayerHooks.cs 2012-12-15 12:54:22 -05:00
Renamed from TShockAPI/Hooks/PlayerLoginEvent.cs (Browse further)