Plugin Request Clash Of Clans Plugin

Discussion in 'Plugin Help/Development/Requests' started by SkyJake, Jul 21, 2014.

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

    crolemol

    @bwfcwalshy it's a private bitbucket repo :p
    i didn't do much with it because i am a solo developer but if you want to help i will add you to it
     
  2. Offline

    crolemol

    @killerbigmacs
    first release (hoping to get it done within 1-2 weeks) will have everything except of clans
     
  3. Offline

    bwfcwalshy Retired Staff

    @crolemol Clans wont be to hard to do, just store them in a HashMap.

    HashMap<String, UUID>
    String = clan
    UUID= player
     
    Last edited by a moderator: Feb 13, 2015
  4. Offline

    killerbigmacs

  5. Offline

    mrCookieSlime Retired Staff

    @bwfcwalshy
    Not such a good idea.
    First, never store Player objects in lists or maps, use UUIDs.
    Second, itd at least need a HashSet of UUIDs otherwise there would only be one player per clan.
    Third, instead of making a HashMap, you should use objects instead. That way its easier to expand as your Clans might need more info than just their members.
    So you should create a Clan class instead of just a string in a HashMap.
    Fourth, while the point of a map has been destroyed in point 3, you should instead use a HashSet for a list of all clans available.
    Way more cleaner and expandable than just using a HashMap which would cause heavy memory leaks by using a Player object.
     
    bwfcwalshy likes this.
  6. Offline

    crolemol

    @bwfcwalshy
    there already is a very basic version of clans but it will not be in the first release because not all the stuff of it is in there and we want to push out a release. Do you know how troops find their way through walls? it's one of the latest things but i can't find it...
     
  7. Offline

    bwfcwalshy Retired Staff

  8. Offline

    mrCookieSlime Retired Staff

    Undeleted posts and moved them to the appropriate Thread.

    @bwfcwalshy @crolemol @killerbigmacs
    If you are planning on talking about this request, then also stay on this Thread please ;)
     
  9. Offline

    crolemol

    @mrCookieSlime
    sorry for that.


    @bwfcwalshy
    i mean the basics like joining a clan are done but not clanwars, so these features will be implemented later


    @all
    we are about to reach the 300th post (this thread is getting quiete long :p)
     
  10. Offline

    killerbigmacs

  11. Offline

    AlSanTiago

    Sounds good!I would test it, when i could. XD

    I mean: It would be nice for me to testing it soon
     
    Last edited by a moderator: Feb 14, 2015
  12. Offline

    crolemol

  13. Offline

    DanGaEb

    When you have troops in your clan castle and someone attacks you, they come out of the clan castle as defense, when they do this, they can walk through walls.

    I know almost nothing about coding plugins but maybe it would be easier to make them jump over walls, not go through them.
     
  14. Offline

    crolemol

    @DanGaEb
    in coc they also jump over them. they don't go through them so i just put their fly mode on and let the pathfinder look for a way to go over it. thanks for the advice :p (just a tiny problem, troops are handled by citizens but minecraft has a bug so npcs fall down if they don't move...)
     
  15. Offline

    AlSanTiago

    Okay, I've noticed,that the player ingame is a figure,like Archer,babarian or elese?
     
  16. Offline

    crolemol

    @AlSanTiago
    what? do you mean that troops can be entities?
     
  17. Offline

    crolemol

    Last edited: Feb 19, 2015
    DanGaEb likes this.
  18. Offline

    AlSanTiago

    And this works?

    And than these weapoms are for The Troops?(babarian,...)?
     
  19. Offline

    crolemol

    @AlSanTiago
    it's a video from hypixel but i can do the same thing. so yes it will work
     
  20. Offline

    TGRHavoc

  21. Offline

    crolemol

    @TGRHavoc
    Yes, that's why We will possibly include this as an option in an update
     
  22. Offline

    TGRHavoc

    @crolemol
    Fair point.
    Also, are you looking for anyone to help out? I'd love to contribute if I can :)
     
  23. Offline

    crolemol

    @TGRHavoc
    what kind of help are you thinking of?
     
  24. Offline

    TGRHavoc

    Anything to do with code :p
     
  25. Offline

    crolemol

    @TGRHavoc
    I can use some help but my api is a mess so it will be painly difficult for you to understand. it is also not commented...

    @all
    supercell has pushed out a new awesome clan update but this will not be included in the first release
     
  26. Offline

    TGRHavoc

    @crolemol
    That's OK, what you need help with?
     
  27. Offline

    crolemol

    @TGRHavoc
    I am currently working on replays but we cannot work on the same thing at the same time (conflicting files) so you can choose something you would like to make :p
     
  28. Offline

    TGRHavoc

  29. Offline

    crolemol

    @TGRHavoc
    give me your minecraft name so I can whitelist you on allcrafters.no-ip.info:25565
     
  30. Offline

    TGRHavoc

Thread Status:
Not open for further replies.

Share This Page