Placement limits for 1.5.2

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

dieselfuelonly

New Member
Jul 29, 2019
40
0
0
I'm looking for a some ideas on a plugin that can place limits on the number of times a player can place certain item IDs, i.e. allowing a player to place only one quarry, 1 chunk loader, and 3 spot loaders. I just want to keep the loaded chunks within a reasonable limit while still allowing players to build machines that may require having chunks constantly loaded in order to function. I also plan to block the crafting of landmarks so that players cannot adjust the size of a quarry over the default size. I know the chunk loader radius can be adjusted in the ChickenChunks config, and I can disable the crafting of other loaders such as the Railcraft one.

I'm using MCPC+ and Unleashed 1.5.2. The only plugin I could find that would handle the placement limits was TekkitRestrict which obviously won't work with 1.5.2. Any suggestions? Thanks in advance.
 

TheDJParadox

New Member
Jul 29, 2019
117
0
0
You know what, this would be pretty useful. I'll have a look at throwing something like this together, however, I don't have much time on my hands at the moment. I will re-post here if I do get something together, in the meantime; see what other people can come up with.
 

Staxed

New Member
Jul 29, 2019
1,019
-2
0
II'm using MCPC+ and Unleashed 1.5.2. The only plugin I could find that would handle the placement limits was TekkitRestrict which obviously won't work with 1.5.2. Any suggestions? Thanks in advance.


I've seen a few people say that TekkitRestrict works with 1.5.2 if I remember correctly.
 

dieselfuelonly

New Member
Jul 29, 2019
40
0
0
Are ya'll sure you're not thinking of TekkitCustomizer? I know that has a 1.5.2 version. It is similar to TekkitRestrict, but item wise it can only completely ban an item from being able to be placed, not allow only a certain number of said item to be placed. I can't seem to find any version of TekkitRestrict that will work with 1.5.2.
 
  • Like
Reactions: Staxed

cjm721

New Member
Jul 29, 2019
734
0
1
If you want a version that limits the amount you can play you run into a problem with other mods that can move blocks around as how do you keep track of them without editing their code (could tag it with some new NBT data but then you have to run through the entire tile entity list everytime and that only catches the ones in active chunks)
 

MigukNamja

New Member
Jul 29, 2019
2,202
0
0
For chunk loaders, look at config/ChickenChunks.cfg . Lots of nice options there.

For BC Quarries, I have no idea. The buildcraft/main.conf has no such option. However, if you're removing (not allowing) landmarks, I wouldn't worry about quarry chunk loader abuse. A BC quarry is expensive for, at most, 4 chunks.
 

pherce

New Member
Jul 29, 2019
60
0
0
TekkitRestrict was pretty boss at a few things, and the block limiter was one (also openalc was a godsend). Even if you brushed out a player's blocks with Voxel or WE, it would update the player's allotment. You could always view his source here: https://github.com/EterniaLogic/TekkitRestrict

I'll double-check, but I'm pretty sure you can use the code as needed. Maybe I will try to put it together in a few days.