KillsPoints

Discussion in 'Archived: Plugin Requests' started by xMDK, Jan 11, 2014.

  1. Offline

    xMDK

    Plugin category: Not sure

    Suggested name: KillsPoints

    What I want: I want a points system throughout my whole server with shops to buy items. I would like this plugin to be easy to use. For example, if someone kills another person, they get 50pts but if they die, they lose 25 PTS. For the shop i would like it to be easy to make such as first line: [shop] second line: <item> third line: cost

    Ideas for commands: I would like simple commands like /points give <player> <amount> /points take <player> <amount> /points reset <player> <amount>

    Ideas for permissions: points.manage points.give points.take points.shop.create points.shop.use

    Now I looked around on the forums and there was no such plugin which has exactly what I want, so I was hoping that one of you Java experts over here on the bukkit community could make me one! Thanks!

    xMDK
     
  2. Offline

    Axanite

    I might give this a go but anyone else who wants to take this on is free to do so as I am not sure if I may actually be able to do it in the end.
     
  3. Offline

    xMDK

    Okay thanks if you can but if not i toady understand rf2minecraft

    Coup someone please make this professionally. I would like it ASAP because i would like to open my server publicly soo. And this is the only missing puzzle piece. If this is at all unreasonable please tell me! Thanks so much!

    xMDK

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 6, 2016
    HyperFuseMC and Axanite like this.
  4. Online

    timtower Moderator Moderator

    xMDK Didn't rf2minecraft already said that he would do it? And please don't bump within 24 hours
     
  5. Offline

    xMDK

    Sorry about the bump timtower but he said he wouldn't be sure he could do it, would you be able to do this. I see you are very active on bukkit forums and i want something done well. I understand if you don't want to. Thanks

    xMDK
     
  6. Online

    timtower Moderator Moderator

    xMDK Active on the forums is something else than active developing.
     
  7. Offline

    xMDK

    timtower so you don't develop any more?
     
  8. Online

    timtower Moderator Moderator

    I do develop, but less.
    And maybe VariableTriggers in combination with TokenShop
     
  9. Offline

    xMDK

    Okay I understand thanks anyway! timtower I will try those


    xMDK
     
    timtower likes this.
  10. Offline

    Axanite

    Yeah, I will attempt this but right now, I have not got much time to do anything so if I can, I'll try start today otherwise somebody might have to take this for themselves.

    I am working on the plugin now. Might not have a final product today but will work on it. =)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 6, 2016
  11. Offline

    xMDK

    Thanks much! Take as much time as possible! rf2minecraft
     
    Axanite likes this.
  12. Offline

    MinecraftGinger

  13. Offline

    Axanite

    I have got the points system working. Now all I need to do is implement the shop and then test it fully and will give you the version. Remember once I give you the plugin, if you have any problems or bugs, please tell me and I will try fix them!
     
  14. Offline

    xMDK

    thanks so much rf2minecraft Im sure it will be great! MinecraftGinger i will try that one but i will for sure use rf2minecrafts when he finishes!
     
  15. Offline

    Axanite

    I'm getting a bit stumped on the shop because somehow I cannot get the lines of the sign that the player right-clicked in the interact event. I may have to ask for a bit of help from some friends (not to like help properly because this is a good experience for me, just some advice ;)) but other than that, its going great. :)

    xMDK I was wondering, if I could implement it, would you like a thing that goes under your nametag above your head saying how many points you have? It should be possible if I implement it correctly.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 6, 2016
  16. Offline

    hubeb

    rf2minecraft
    get clicked block
    make sure its (instanceof Sign)
    get block state
    get line

    rf2minecraft
    Code:java
    1. if(block.getType() == Material.WALL_SIGN){
    2. BlockState state = block.getState();
    3. if(state instanceof Sign){
    4. Sign sign = (Sign)state;
    5. String signline1 = sign.getLine(0);
    6. String signline2 = sign.getLine(1);
    7. String signline3 = sign.getLine(2);
    8. String signline4 = sign.getLine(3);
    9. System.out.println(signline1+signline2+signline3+signline4);
    10. }
    11. }


    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 6, 2016
  17. Offline

    Axanite

    Ah. I thought it was something like that. Turns out my original would've worked but I imported sign material instead of sign block :) Thanks for your help!
     
  18. Offline

    hubeb

    Axanite likes this.
  19. Offline

    xMDK

    rf2minecraft sorry i havent responded to you in a while! But yes that would be great if you could do that! Im Sure the plugin will be great!
     
  20. Offline

    Axanite

    It is okay. Haha, thanks! This is my first big project. =)
     
  21. Offline

    xMDK

    Good luck with it! I have no idea how hard this is and I would never be able to do something like this! You are the best! rf2minecraft
     
  22. Offline

    Axanite

    It is quite hard debugging it and getting it to work how you want it but at the end of the day, its what you want and I'm up to the challenge. :)
     
  23. Offline

    xMDK

  24. Offline

    Mysticate

    My god... USE BOSSSHOP YOU CAN DO EXECUTES, IT"S VAULT COMPATIBLE, PLUS IT HAS OPEN SIGNS!
    sorry for caps :p
     
  25. Offline

    Axanite

    Well, I've already started this so theres no point.
     
    xMDK and Konkz like this.
  26. Offline

    hubeb

    rf2minecraft If you need help let me know, ill be happy to help you out. You can post it on github and ill sub pull requests. Together we can bang this out faster.
     
  27. Offline

    Axanite

    Sure! Will just get it on github for ya.
     
  28. Offline

    hubeb

  29. Offline

    xMDK

    rf2minecraft No rush but I would like an update on how its going please :)
     
  30. Offline

    Axanite

    Haven't been doing plugins much recently. I am still stuck on the shop problem as it seems to give me the items periodically and not how I need it. If somebody could give me the code for a *WORKING* sign shop, that'd be great & I'd adapt it to work in this situation.
     

Share This Page