Jump to content

Looking for mod to assign large PVP-possible "plots" to players with Forge?


AzzerUK

Recommended Posts

This is possibly a very very basic question, but I have really really tried to find the solution myself, but could find nothing that works for more recent versions of stuff.

 

Basically I've set up a server locally for me and a friend, with "Forge" and Universal Electricity, ICBM, Atomic Science and a few similar mods. No launchers or anything - we're both using MC client 1.5.1 with the newest Forge installed into it.

 

What we want to do is give ourselves a set period of time - say one or two weeks - to build a large "base"/bunker - and then to go to war with eachother.

 

What I'm after is some way of allowing us to "book" or claim a large area of land (several chunks/an island/something) each, so that if we go into the other player's area, we *CAN* use explosives/missiles etc, and *CAN* interact with any switches and doors... but *CAN'T* place blocks or destroy blocks with pickaxes/paxels/etc.

 

Is there any mod I can put on, with Forge, that will support this? I briefly saw mention of something called "Factions" for CraftBukkit that sounds like it MIGHT do something similar - but from what I could find online, you can no longer use new versions of CraftBukkit with new versions of Forge (or if you can, not without masses of work/problems, unless I missed something?)... which rules out us using universal electricity/ICBM/Atomic Science etc. which is the main desire. "Forge Essentials" hints at stuff with it's "zones" but to be honest I really, really did not understand much of that or how I might utilize it in the ways I'm after (or even close to that).

 

I'd also quite like us to be able to start off with XXXX items/materials each in our own starter areas through a mod - eg a couple of chests full of basic building materials - but I can handle this by starting a new world, manually filling a couple of chests in creative mode, and then removing creative mode before we start playing. (again, "ForgeEssentials" kits might enable this if the kits have huge re-use timers, but I'd rather not install it JUST for the kits).

 

(and yes, this was all massively inspired by the recent "Voltz" yogscasts we saw out of the blue this week, neither of us having minecrafted for a couple of years)

 

Hope somebody can help us out so we can relive our own private, violent but "fair" minecraft war! :P

Link to comment
Share on other sites

  • 1 month later...

it's kinda on the back burner right now as I'm waiting to see how well forge essentials does with updating to 1.5 (personally, I'm using a beta version), but I have a mod in the works that should allow you to do what you're asking. I had a really early primitive version available for download, but my web server got messed up and I haven't reuploaded it, plus it's just for 1.4.7 and it's REALLY primitive with several bits not working for land claiming. I guess I could look in to seeing how well the updated FE works and try to get it back working though if there's demand, but I'll have to check exactly how perms work standard in FE for block breaking versus using as I could have sworn it wasn't possible to make it so you could use blocks but not break them, but that shouldn't be that hard to change (just write new permissions.... yay.....) and they already have some PvP related blocking features in the latest version iirc. So, um, if you're willing to wait a couple weeks for me to get that code all back working for 1.5 and flesh out the perm system and some of the background systems more, I could probably provide a mod that does what you're asking. I wish I could get one faster, but I'm still in the process of learning some of the SQL stuff necessary to do it properly and I've got some other semi-related mods I'm working on and after having to rewrite the entire thing at least twice already, I'm hoping to get it 'right' from the code perspective while still having lots of commands to make it easy to use and understand and both of those are a bit time consuming.

 

 

In the mean time, I would say that you could just start and kinda wait for the battle if you can trust people to 'follow the rules' so to speak for your activity. I really wish I knew of a mod that easily did what you're asking, but it's kinda a blind spot in the forge mod world as historically a lot of that was handled by bukkit and there isn't much in the way of large scale social servers that run forge and would need something like that.

Link to comment
Share on other sites

Shameless FE plug ahead, you were warned:

 

 

This is possibly a very very basic question, but I have really really tried to find the solution myself, but could find nothing that works for more recent versions of stuff.

 

Basically I've set up a server locally for me and a friend, with "Forge" and Universal Electricity, ICBM, Atomic Science and a few similar mods. No launchers or anything - we're both using MC client 1.5.1 with the newest Forge installed into it.

 

What we want to do is give ourselves a set period of time - say one or two weeks - to build a large "base"/bunker - and then to go to war with eachother.

 

What I'm after is some way of allowing us to "book" or claim a large area of land (several chunks/an island/something) each, so that if we go into the other player's area, we *CAN* use explosives/missiles etc, and *CAN* interact with any switches and doors... but *CAN'T* place blocks or destroy blocks with pickaxes/paxels/etc.

 

What you are looking for is most probably the FE protection module, which provides the necessary permissions for interacting with the world.

Is there any mod I can put on, with Forge, that will support this? I briefly saw mention of something called "Factions" for CraftBukkit that sounds like it MIGHT do something similar - but from what I could find online, you can no longer use new versions of CraftBukkit with new versions of Forge (or if you can, not without masses of work/problems, unless I missed something?)... which rules out us using universal electricity/ICBM/Atomic Science etc. which is the main desire. "Forge Essentials" hints at stuff with it's "zones" but to be honest I really, really did not understand much of that or how I might utilize it in the ways I'm after (or even close to that).

 

A zone, simply put, is a defined area where permissions other than the default permissions in the world apply.

 

I'd also quite like us to be able to start off with XXXX items/materials each in our own starter areas through a mod - eg a couple of chests full of basic building materials - but I can handle this by starting a new world, manually filling a couple of chests in creative mode, and then removing creative mode before we start playing. (again, "ForgeEssentials" kits might enable this if the kits have huge re-use timers, but I'd rather not install it JUST for the kits).

 

That is why we have a modular system - just remove the files you don't need.

 

(and yes, this was all massively inspired by the recent "Voltz" yogscasts we saw out of the blue this week, neither of us having minecrafted for a couple of years)

 

Hope somebody can help us out so we can relive our own private, violent but "fair" minecraft war! :P

 

 

Read the EAQ before posting! OR ELSE!

 

This isn't building better software, its trying to grab a place in the commit list of a highly visible github project.

 

www.forgeessentials.com

 

Don't PM me, I don't check this account unless I have to.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • They were already updated, and just to double check I even did a cleanup and fresh update from that same page. I'm quite sure drivers are not the problem here. 
    • i tried downloading the drivers but it says no AMD graphics hardware has been detected    
    • Update your AMD/ATI drivers - get the drivers from their website - do not update via system  
    • As the title says i keep on crashing on forge 1.20.1 even without any mods downloaded, i have the latest drivers (nvidia) and vanilla minecraft works perfectly fine for me logs: https://pastebin.com/5UR01yG9
    • Hello everyone, I'm making this post to seek help for my modded block, It's a special block called FrozenBlock supposed to take the place of an old block, then after a set amount of ticks, it's supposed to revert its Block State, Entity, data... to the old block like this :  The problem I have is that the system breaks when handling multi blocks (I tried some fix but none of them worked) :  The bug I have identified is that the function "setOldBlockFields" in the item's "setFrozenBlock" function gets called once for the 1st block of multiblock getting frozen (as it should), but gets called a second time BEFORE creating the first FrozenBlock with the data of the 1st block, hence giving the same data to the two FrozenBlock :   Old Block Fields set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=head] BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@73681674 BlockEntityData : id:"minecraft:bed",x:3,y:-60,z:-6} Old Block Fields set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} Frozen Block Entity set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockPos{x=3, y=-60, z=-6} BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} Frozen Block Entity set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockPos{x=2, y=-60, z=-6} BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} here is the code inside my custom "freeze" item :    @Override     public @NotNull InteractionResult useOn(@NotNull UseOnContext pContext) {         if (!pContext.getLevel().isClientSide() && pContext.getHand() == InteractionHand.MAIN_HAND) {             BlockPos blockPos = pContext.getClickedPos();             BlockPos secondBlockPos = getMultiblockPos(blockPos, pContext.getLevel().getBlockState(blockPos));             if (secondBlockPos != null) {                 createFrozenBlock(pContext, secondBlockPos);             }             createFrozenBlock(pContext, blockPos);             return InteractionResult.SUCCESS;         }         return super.useOn(pContext);     }     public static void createFrozenBlock(UseOnContext pContext, BlockPos blockPos) {         BlockState oldState = pContext.getLevel().getBlockState(blockPos);         BlockEntity oldBlockEntity = oldState.hasBlockEntity() ? pContext.getLevel().getBlockEntity(blockPos) : null;         CompoundTag oldBlockEntityData = oldState.hasBlockEntity() ? oldBlockEntity.serializeNBT() : null;         if (oldBlockEntity != null) {             pContext.getLevel().removeBlockEntity(blockPos);         }         BlockState FrozenBlock = setFrozenBlock(oldState, oldBlockEntity, oldBlockEntityData);         pContext.getLevel().setBlockAndUpdate(blockPos, FrozenBlock);     }     public static BlockState setFrozenBlock(BlockState blockState, @Nullable BlockEntity blockEntity, @Nullable CompoundTag blockEntityData) {         BlockState FrozenBlock = BlockRegister.FROZEN_BLOCK.get().defaultBlockState();         ((FrozenBlock) FrozenBlock.getBlock()).setOldBlockFields(blockState, blockEntity, blockEntityData);         return FrozenBlock;     }  
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.