How difficult would a land claiming plugin be to make?

Discussion in 'Plugin Development' started by rylismiles, May 13, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    rylismiles

    I have a idea for a versatile land claiming system that lets players reinforce their items under a certain radius. I'm very nooby at coding so I was wondering if anyone could tell me how difficult that this would be? Thanks :c
     
  2. Offline

    MCForger

  3. Offline

    JoeyDevs

    It's depend on what features you want. Land claiming is so far i know is that you claim a chuck. But such I said its depend on your features
     
  4. Offline

    rylismiles

    JoeyDevs mhm it's basically chunk claiming. MCForger It's sort of like the number of times you have to break a block before it actually breaks.
     
  5. Offline

    AoH_Ruthless

    rylismiles
    If you're "nooby" at coding and want lots of good features reliably and efficiently, this could potentially be very strenuous. This is a very subjective question you are asking, and you could get a variety of responses; none of which will help you until you sit down to try it.

    Nevertheless, while it possible, the way you present your skills it could be very challenging for you. Or not. How can I know for sure :). Anyways, good luck. ;)
     
  6. Offline

    rylismiles

    Thank you <3, i'm gonna take a stab at it right now and do you think people here will help me clean up the code if it's wrong?
     
  7. Offline

    AoH_Ruthless

    rylismiles

    Most people here are friendly enough to point you on the right path. However, if you have very little knowledge of Java, there's not much we can do but tell you to go learn it.

    That being said, we are here to help you learn. We are not going to freely hand out code; you have to figure somethings out yourself.
     
  8. Offline

    JoeyDevs

    If it's only claiming chunk I think it's not to hard but you need to use your brains.
    Things that came up into me when I think about your idea(Thinks you need to do our what u need):

    - Add the chunk to something that is connected to a player or a team/group/...
    - When break a block, Get the chunk and check if that is claimed
    - Is claimed { Cancel Event, Maybe sent message } Is not claimed people can break or claim.
    - Command for claiming, Also check if chunk is claimed


    I hope you have something on this. Maybe you know this already but i want to help a bit.
     
  9. Offline

    rylismiles

    Okie, i'm working on it a bit but should I be using the development build recommended?
     
  10. rylismiles About this difficult: |||||

    Truth is, it's really not easy to rate a difficulty for this sort of thing. Sure, you can clearly say that some things are harder than others, but difficulty depends on past experience, and different people find different areas easier. So it's hard to say. :)
     
  11. Offline

    JoeyDevs

    I'm working to with development build from 1.7.9 I have no problems
     
  12. Offline

    Alshain01

    Depends on exactly what you had it mind, but identifying a cuboid region is pretty simple. With any two opposing corner blocks you will get the greatest possible x, y, and z coordinates between the two corners and create a new location from them, this is your greater corner. Then do the same for the lesser corner.

    With the greater and lesser corner you can define all 12 borders and anything inside them with simple less than/greater than checks.
     
Thread Status:
Not open for further replies.

Share This Page