I-AntiGrief

Approved I-AntiGrief 1.1

No permission to download

ice cold

Active Member
Trusted Member
Member
Oct 24, 2016
606
876
43
Canada
ice cold submitted a new resource:

AntiGrief - prevents people from griefing in your server

ANTIGRIEF BY ICE COLD

This plugin prevents people from griefing in your server



CURRENT FEATURES!!

AntiShelterGrief = This wil prevent people from placing shelter at the front door off doors to block it

AntiBarricadeGrief = This wil prevent people from placing Barricade at the front door off doors to block it

AntiSpikeGrief = Blocks people from placing spike walls at front doors to block it

SelfAllower = the owner of the...
Read more about this resource...
 

salva

Friendly self-taught developer
Administrator
Jan 31, 2016
577
612
63
ice cold submitted a new resource:

AntiGrief - prevents people from griefing in your server



Read more about this resource...
I have not tried this plugin, but looking at the code you should check what happens if you place a barricade in the middle of two doors ... looking at the code I'm sure that players can duplicate the items they place and are destroyed

You should use break; here and in the other methods https://github.com/icecolderino/I-AntiGrief/blob/master/AntiGrief.cs#L124

regards!
 

ice cold

Active Member
Trusted Member
Member
Oct 24, 2016
606
876
43
Canada

salva

Friendly self-taught developer
Administrator
Jan 31, 2016
577
612
63
Every time you destroy an object within a foreach cycle, you should break the cycle "break;"... it's a piece of advice