Commit graph

406 commits

Author SHA1 Message Date
Lucas Nicodemus
d28fef8e1e Implemented permissions for lua and some commands to work with it.
TSHOCKPLUGINS-4 is completed.
2012-01-03 18:07:55 -07:00
Deathmax
e1d11ca96a Provide feedback when using hardmode commands 2012-01-03 15:31:38 +08:00
Lucas Nicodemus
42f8978e8f Remove old UpdateNow method 2012-01-02 00:58:58 -07:00
Lucas Nicodemus
bf9d0137f1 Added any missing license headers to all files 2012-01-01 03:06:48 -07:00
Lucas Nicodemus
f47ce942f4 Remove old flat file conversion Commands.cs 2012-01-01 02:43:09 -07:00
Lucas Nicodemus
58f08193ae Mark some functions as obsolete 2012-01-01 02:38:10 -07:00
high
4e2b6fe313 Fixed group being used before being set again... 2011-12-31 23:25:56 -05:00
Lucas Nicodemus
8685e8d710 Tabs, not spaces please. 2011-12-31 19:18:40 -07:00
Lucas Nicodemus
0170f9d348 Added several aliases for broadcast 2011-12-30 20:07:11 -07:00
darkunderdog
eaeb37ced5 users now can login with /login password - new config option to enable the ability to log in with username and password 2011-12-30 20:29:27 -06:00
Lucas Nicodemus
c6abbfe4d2 ReSharper code reformat to match naming conventions and stuff 2011-12-30 14:38:04 -07:00
Lucas Nicodemus
1147788154 ReSharper redundant code cleanup 2011-12-30 14:32:05 -07:00
Zidonuke
021728525d Improved server side inventory handling
Allowed item bans to effect armor worn, YAY FOR RP SERVERS
2011-12-29 15:58:31 -05:00
Natrim
0fd7bba913 add aliases exit, exit-nosave to respect old vanilla commands
- some ppl will not otherwise know how to disable server from the new console
2011-12-29 12:46:30 +01:00
Zidonuke
b9a8fdf891 Quick fixes 2011-12-29 02:16:45 -05:00
Zidonuke
f360067198 Request for Erik 2011-12-29 01:56:18 -05:00
Zidonuke
1671db928b Register command no longer has a username param.
Password checking fixed.
2011-12-29 00:14:57 -05:00
Zidonuke
86005acdcc Finished inventory permissions. 2011-12-28 21:25:55 -05:00
Zidonuke
99e9859b7c Merge pull request #317 from natrim/general-devel
Added some usefull permissions
2011-12-28 09:29:15 -08:00
Zidonuke
37c550c167 Server passwords are disabled, moving this to TShock handling soon.
Change stat tracker mono detection
Fixed collision check to ignore tileSolidTop
2011-12-28 10:56:45 -05:00
Natrim
aa0642c64a added some useful permissions
(canregister,canlogin,canchangepassword,canpartychat,cantalkinthird,candisplayplaying)
2011-12-28 10:00:46 +01:00
Zack Piispanen
d0a9b47f2f You can now add entire groups to a region. You can define as many groups as you want to a region, just like users. The new commands are /region allowg group region and /region removeg group region.
Any player in the group has build rights in the region.
2011-12-24 15:21:16 -05:00
darkunderdog
1aed7f4bdb Added /mute command - requires mute permission 2011-12-24 08:35:08 -06:00
Zidonuke
8cf298ad85 Save player data on backups
Server Side Inventory security improvements, blocking trashcan and "banks" items
CovertCorruption is now more thorough.
PvP Modes, normal, always, disabled now configurable
Initial group prefix/suffix implementation
Range checks reworked, Killing ice blocks now ignored for ice rod.
Adding a NPC name to item banlist will block it from spawning
Added configs to disable snowballs and clown bombs from npcs.
2011-12-22 17:32:51 -05:00
Zidonuke
fc6278b16d Implement invalid command handler, thank you to Matadoer for pointing this omission out with his plugin. 2011-12-22 01:57:03 -05:00
Zidonuke
c06bf2fe2e Break off from older commands and systems, move to more recent configurations.
Cheating detection no longer kicks, instead uses new system to block actions, and notifies user to fix the issue instead.
2011-12-20 22:41:49 -05:00
Zidonuke
6004bcd92f DERP 2011-12-20 16:29:08 -05:00
Zidonuke
bc7fac9b73 Annoying Server Side Inventory implemented. Needs extensive testing.
If enabled, all player actions are disabled until they /login which triggers a inventory check against the server. If they fail the check the login doesn't occur and they can't act. Default inventory for new accounts or characters requires a new character's inventory and health. Every inventory change that occurs is stored back into playerData memory and then onLeave it's stored back into the database, to be loaded at next /login
2011-12-20 16:21:22 -05:00
Deathmax
2cec51ada4 /converthallow/corruption should now report the correct hallow/corruption percentage. 2011-12-20 18:49:08 +08:00
Zidonuke
8a62df9ebb Renamed Solution... I'm picky and its easier to track what VS Solution is open in the taskbar.
Removed old kick/ban system for griefing and hacks.
Cheating detection redone to stop inventory editors going above the normal limits.
Revamped KillTile abuse detection to be always on.
Removed old hacks/exploit detection for exploits fixed by Redigit properly.
Removed some permissions and added one for killtile abuse detection.
Removed old configurations that are not used anymore.
AntiHack/Protection System COMPLETELY revamped to properly block and revert all actions that are abusive.
Item Ban List is now the primary method to control various griefing items. To block Explosives or Sandguns or other items, use the Item Ban List.
Banned items are able to exist in your inventory but the server will ignore all attempts to use those items.
To protect against hack clients doing world edit type actions, use regions and spawn protection.
2011-12-19 23:52:26 -05:00
Deathmax
99d3162345 Recount and resend Good/Evil stats after converting hallow/corruption 2011-12-19 19:30:06 +08:00
Deathmax
a776bd056c Reset sections sent on /converthallow/corruption
This forces the server to resend sections to players, showing the new tile changes
2011-12-19 19:18:07 +08:00
Zidonuke
55b706db8d Merge branch 'general-devel-mono' of github.com:TShock/TShock into general-devel 2011-12-18 21:57:43 -05:00
Zidonuke
25c55330fb Kill Mono Branch with fire, move it all into general-devel 2011-12-18 21:55:50 -05:00
Deathmax
283dec89a0 Add /converthallow and /convertcorruption
Converts hallow/corruption tiles to their counterpart worldwide.
2011-12-18 21:19:43 +08:00
Luke
8dfa36898e Fixed /tpallow 2011-12-16 08:25:37 -06:00
Deathmax
08295343d7 Re-add prefix name support to /item and /give 2011-12-16 17:07:17 +08:00
Deathmax
d3e0acacaa Remove name support for prefixes
Searching by name causes a null exception
2011-12-16 09:06:33 +08:00
Deathmax
a2a1486ea1 Add support for prefixes in /item and /give 2011-12-15 21:28:46 +08:00
Deathmax
c821c920ce Was never supposed to add exploit code. 2011-12-13 17:30:01 +08:00
Deathmax
57f45e12bf Mono compatibility 2011-12-13 17:24:46 +08:00
Zidonuke
3390346df6 Revert "i think we need more items raining from the sky."
This reverts commit e8982c3138.

I'll only do this once so revert me if you wish, but seriously lets not stoop to his level and lets put that in a plugin, and show him that HEY WE CAN DO PLUGINS! WHAT CAN YOU DO?
2011-12-13 00:18:05 -05:00
Zack Piispanen
9d88673ee4 Whoops, rand.next was off by one, also now defaults to 10 so you dont need to type it out unless you want something other than 10 to drop 2011-12-12 22:22:47 -05:00
Zack Piispanen
e8982c3138 i think we need more items raining from the sky.
permission causeevents lets you rain items from the sky....
2011-12-12 22:13:54 -05:00
Zack Piispanen
6225b6faf4 Check to make sure pull requests work before accepting, please and thanks! 2011-12-12 21:23:38 -05:00
darkunderdog
a653deda68 Added /tpallow - New permissions tpallow gives command acces and tpall allows tp to anyone 2011-12-11 18:57:41 -06:00
Luke
9dbd71b6e1 Updated /reload to include Reloading Regions 2011-12-11 09:22:17 -06:00
Lucas Nicodemus
1a15deffd9 Added more stuff! 2011-12-05 23:03:00 -07:00
Lucas Nicodemus
aa57a6ce86 Merge branch 'general-devel' of github.com:TShock/TShock into general-devel 2011-12-05 22:56:27 -07:00
Lucas Nicodemus
ec78a4c748 Threaded the server stat tracking thingy.
Rockin' Server!
2011-12-05 22:56:03 -07:00