Jump to content

nonstop griefer 'Wilson'


Recommended Posts

AntiGriefing Protection

 

Modify the modmain.lua and add the following: (add/remove prefabs to your liking)

 

local remove_burnable_from =
{
        'arrowsign',
        'backpack',
        'bedroll_furry',
        'bedroll_straw',
        'beebox',
        'beehive',
        'berrybush',
        'berrybush2',
        'birdcage',
        'cactus',
        'cookpot',
        'dug_grass',
        'dug_sapling',
        'fast_farmplot',
        'firesuppressor',
        'flower',
        'flower_evil',
        'grass',
        'homesign',
        'livingtree',
        'marsh_plant',
        'meatrack',
        'mermhouse',
        'mermhead',
        'icepack',
        'pighead',
        'pighouse',
        'poop',
        'pottedfern',
        'rainometer',
        'rabbithouse',
        'reeds',
        'researchlab',
        'researchlab2',
        'researchlab3',
        'researchlab4',
        'sapling',
        'siestahut',
        'silk',
        'skullchest',
        'slow_farmplot',
        'spiderden',
        'spiderden_2',
        'spiderden_3',
        'spidereggsack',
        'spidergland',
        'telebase',
        'treasurechest',
        'tent',
        'wall_hay',
        'wall_wood',
        'wasphive',
        'winterometer',

}

 

 

local remove_workable_from =
{
        'arrowsign',
        'birdcage',
        'beebox',
        'cookpot',
        'dragonflychest',
        'fast_farmplot',
        'firepit',
        'firesuppressor',
        'homesign',
        'houndbone',
        'icebox',
        'lightning_rod',
        'mermhouse',
        'meatrack',
        'pighouse',
        'pigtorch',
        'rabbithouse',
        'rainometer',
        'researchlab',
        'researchlab2',
        'researchlab3',
        'researchlab4',
        'siestahut',
        'skullchest',
        'slow_farmplot',
        'telebase',
        'treasurechest',
        'tent',
        'wall_hay',
        'wall_stone',
        'wall_moonrock',
        'wall_wood',
        'winterometer',

}

I guess the downside of this mod is if you place something to a wrong place then you cannot remove it using a hammer, this leads to another type of griefing. Now griefers can come to your base and put a lot of unnecessary structures.

 

No downside. You can remove the item/structure prefab you want breakable. What I posted above was edited for my server. I'd rather come back to a camp with additional structures then none at all. :-)

 

The mod is very easy to edit and customize to your liking.

AntiGriefing Protection

 

Modify the modmain.lua and add the following: (add/remove prefabs to your liking)

 

local remove_burnable_from =

{

        'arrowsign',

        'backpack',

        'bedroll_furry',

        'bedroll_straw',

        'beebox',

        'beehive',

        'berrybush',

        'berrybush2',

        'birdcage',

        'cactus',

        'cookpot',

        'dug_grass',

        'dug_sapling',

        'fast_farmplot',

        'firesuppressor',

        'flower',

        'flower_evil',

        'grass',

        'homesign',

        'livingtree',

        'marsh_plant',

        'meatrack',

        'mermhouse',

        'mermhead',

        'icepack',

        'pighead',

        'pighouse',

        'poop',

        'pottedfern',

        'rainometer',

        'rabbithouse',

        'reeds',

        'researchlab',

        'researchlab2',

        'researchlab3',

        'researchlab4',

        'sapling',

        'siestahut',

        'silk',

        'skullchest',

        'slow_farmplot',

        'spiderden',

        'spiderden_2',

        'spiderden_3',

        'spidereggsack',

        'spidergland',

        'telebase',

        'treasurechest',

        'tent',

        'wall_hay',

        'wall_wood',

        'wasphive',

        'winterometer',

}

 

 

local remove_workable_from =

{

        'arrowsign',

        'birdcage',

        'beebox',

        'cookpot',

        'dragonflychest',

        'fast_farmplot',

        'firepit',

        'firesuppressor',

        'homesign',

        'houndbone',

        'icebox',

        'lightning_rod',

        'mermhouse',

        'meatrack',

        'pighouse',

        'pigtorch',

        'rabbithouse',

        'rainometer',

        'researchlab',

        'researchlab2',

        'researchlab3',

        'researchlab4',

        'siestahut',

        'skullchest',

        'slow_farmplot',

        'telebase',

        'treasurechest',

        'tent',

        'wall_hay',

        'wall_stone',

        'wall_moonrock',

        'wall_wood',

        'winterometer',

}

 

can you please tell me where the modmain.lua is located? I am unable to find the file.

 

 

Anyways I found it... I am new to modding. thank you very much!!!!.

AntiGriefing Protection

 

Modify the modmain.lua and add the following: (add/remove prefabs to your liking)

 

local remove_burnable_from =

{

        'arrowsign',

        'backpack',

        'bedroll_furry',

        'bedroll_straw',

        'beebox',

        'beehive',

        'berrybush',

        'berrybush2',

        'birdcage',

        'cactus',

        'cookpot',

        'dug_grass',

        'dug_sapling',

        'fast_farmplot',

        'firesuppressor',

        'flower',

        'flower_evil',

        'grass',

        'homesign',

        'livingtree',

        'marsh_plant',

        'meatrack',

        'mermhouse',

        'mermhead',

        'icepack',

        'pighead',

        'pighouse',

        'poop',

        'pottedfern',

        'rainometer',

        'rabbithouse',

        'reeds',

        'researchlab',

        'researchlab2',

        'researchlab3',

        'researchlab4',

        'sapling',

        'siestahut',

        'silk',

        'skullchest',

        'slow_farmplot',

        'spiderden',

        'spiderden_2',

        'spiderden_3',

        'spidereggsack',

        'spidergland',

        'telebase',

        'treasurechest',

        'tent',

        'wall_hay',

        'wall_wood',

        'wasphive',

        'winterometer',

}

 

 

local remove_workable_from =

{

        'arrowsign',

        'birdcage',

        'beebox',

        'cookpot',

        'dragonflychest',

        'fast_farmplot',

        'firepit',

        'firesuppressor',

        'homesign',

        'houndbone',

        'icebox',

        'lightning_rod',

        'mermhouse',

        'meatrack',

        'pighouse',

        'pigtorch',

        'rabbithouse',

        'rainometer',

        'researchlab',

        'researchlab2',

        'researchlab3',

        'researchlab4',

        'siestahut',

        'skullchest',

        'slow_farmplot',

        'telebase',

        'treasurechest',

        'tent',

        'wall_hay',

        'wall_stone',

        'wall_moonrock',

        'wall_wood',

        'winterometer',

}

 

Well I actually put meatrack but its still hammerable without any hunger penalty and it can be hammered fairly easily. I tried in my dedic server and hosted and failed for icebox, drying racks and pig house and they all failed so far.

 

burnable section works though.

 

Well I actually put meatrack but its still hammerable without any hunger penalty and it can be hammered fairly easily. I tried in my dedic server and hosted and failed for icebox, drying racks and pig house and they all failed so far.

 

burnable section works though.

 

Scroll down and you should see local old_ACTIONHAMMER = GLOBAL.ACTIONS.HAMMER.fn

 

You have to add the prefabs there as well. Below is an example of what I added. You can copy and paste mine and remove the prefabs you want to keep hammerable. Should work once you update that section. If not let me know.

 

http://pastebin.com/Fm3DiVsC

Scroll down and you should see local old_ACTIONHAMMER = GLOBAL.ACTIONS.HAMMER.fn

 

You have to add the prefabs there as well. Below is an example of what I added. You can copy and paste mine and remove the prefabs you want to keep hammerable. Should work once you update that section. If not let me know.

 

http://pastebin.com/Fm3DiVsC

 

well it works thanks but this time they are never breakable XD. I guess i should remove some of them like walls... cuz some griefers may add walls and make it inaccessible to people's own base.

Scroll down and you should see local old_ACTIONHAMMER = GLOBAL.ACTIONS.HAMMER.fn

 

You have to add the prefabs there as well. Below is an example of what I added. You can copy and paste mine and remove the prefabs you want to keep hammerable. Should work once you update that section. If not let me know.

 

http://pastebin.com/Fm3DiVsC

 

also i wonder if objects still smolder? I dont think so. This mod will make summer too easy i guess. you only need ice flingomatic for farming and bushes to prevent them wither.

well it works thanks but this time they are never breakable XD. I guess i should remove some of them like walls... cuz some griefers may add walls and make it inaccessible to people's own base.

 

Glad it's working for you. :-)

 

Yes, you should probably remove the wall prefabs.

 

also i wonder if objects still smolder? I dont think so. This mod will make summer too easy i guess. you only need ice flingomatic for farming and bushes to prevent them wither.

 

I'm not sure because my pvp server is autumn only. Objects did smolder from fire hound deaths so I use No Fire Spread. Both are compatible but may make charcoal farming tiresome.

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...