Commit graph

36 commits

Author SHA1 Message Date
Chris
784a75b7c5 Implement handled pattern on the PlayerChat hook 2021-04-13 13:14:56 +09:30
Lucas Nicodemus
70dd72443d Update copyright to 2019 again
Fixes #1658, most likely.
2019-03-29 17:16:37 -07:00
Lucas Nicodemus
569b350cea Update to Pryaxis, 2018 part 2
If there's one thing I learned in this exercise, it's that letting
people add random python scripts to the repo like gpltext.py that
promise to be easier than find and replace is a bad idea.
2018-01-01 02:20:56 -07:00
Edgar Luque
07da3d5f58 missed some more declarations 2017-12-08 01:48:08 +01:00
Edgar Luque
6589531868 Renamed TShockAPI.DB 'User' to 'UserAccount' 2017-12-08 01:38:15 +01:00
koneko-nyan
d652fd6c83 Add OnRegionRenamed hook 2017-10-02 17:36:50 +02:00
Ruby Rose
685d9964f0 Change enum names for clarity 2017-07-17 09:06:29 +03:00
Ruby Rose
3764527d3d don't inherit handled event args for them 2017-07-17 09:06:29 +03:00
Ruby Rose
79f66f554f Turn the player hooks into a tristate 2017-07-17 09:06:29 +03:00
Ruby Rose
c841a86cdf hooks added 2017-06-07 10:46:46 +03:00
White
c4a3a9fb67 Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
Lucas Nicodemus
678f6c7cf8
Update to Mintaka (thanks @enerdy) 2016-12-06 17:36:44 -07:00
Adilson Carvalho
49b4effe74 Changed year to 2016 on all GPL headers 2016-10-16 17:06:02 -02:00
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
Patrikk
a983d14723 Actually return entered region at OnRegionEntered 2015-07-09 18:39:55 +01: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
Lucas Nicodemus
adc0f0acfb Add the region a player left to OnRegionLeft 2015-03-06 22:40:32 -07:00
Lucas Nicodemus
22306a2b87 Change access modifiers of args to public (@bladecoding nilly) 2015-03-02 13:14:03 -07:00
Lucas Nicodemus
8cc404d963 RegionHooks now has the public modifier 2015-03-02 13:07:03 -07:00
Zack Piispanen
406abce30c Add hooks for Region creation/deletion. Add hooks for Region Enter/Leave. Add member to TSPlayer displaying current region. Set private setters in AccountHooks. 2015-03-01 22:27:49 -05:00
Lucas Nicodemus
12a39f4e9a Revert "Use Sublime Text's "Convert all open views to tabs" option"
This reverts commit b35a02d379.
2015-02-21 23:00:30 -07:00
Lucas Nicodemus
b35a02d379 Use Sublime Text's "Convert all open views to tabs" option 2015-02-21 22:57:14 -07:00
Lucas Nicodemus
91d5fab27d Add account create & delete hooks 2015-02-21 22:35:05 -07: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
Zack Piispanen
e37ada8749 Added event for reloading configs, so when a user does /reload it informs plugins that a config reload is requested. 2013-04-21 19:26:17 -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
Zack Piispanen
c37cc91ca0 Added Hook for player login, for plugin sake, now they can utilize the login before join. 2012-09-24 14:32:21 -04:00