Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

BedWars plugin planned

Comments in 'Plugin Development' started by thebigsmileXD, Mar 24, 2016.

  1. thebigsmileXD
    Offline

    thebigsmileXD Banned

    Joined:
    May 19, 2015
    Posts:
    845
    Plugins:
    1
    Minecraft User:
    XenialDan
    Hey. I'll start to create a bedwars plugin.
    but theres one problem i have:
    Teams.
    Any idea how i can make players join them?
    I had the idea to click a sign or execute a command, open a fake inventory and when selecting a wool color, you'll be added to the team.

    Should i use mapped arrays.. or $team_blue = array() && $team_yellow = array() etc?
    Or any better idea?

    And what about The villager trades?

    I just got my VillagerTrade plugin working, but i don't think about using all of that.
    Skullex and cake23 like this.
  2. xBeastMode
    Offline

    xBeastMode Active Member

    Joined:
    Nov 27, 2015
    Posts:
    292
    Why not $teams["game"]["color"][] = $player?
    Skullex and thebigsmileXD like this.
  3. CraftYourBukkit
    Offline

    CraftYourBukkit Notable Member Plugin Developer

    Joined:
    Jan 20, 2015
    Posts:
    1,022
    Plugins:
    2
    Minecraft User:
    CraftYourBukkit
    In my BedWars Plugin, I simply use the color of the nametag.
  4. JackboyPlay
    Offline

    JackboyPlay Active Member

    Joined:
    Apr 25, 2015
    Posts:
    507
    Minecraft User:
    JackboyPlay
    You can make npcs or colored clay in the inventory :D
    thebigsmileXD likes this.
  5. xBeastMode
    Offline

    xBeastMode Active Member

    Joined:
    Nov 27, 2015
    Posts:
    292
    Create a fake chest tile when they hurt the villager.
  6. thebigsmileXD
    Offline

    thebigsmileXD Banned

    Joined:
    May 19, 2015
    Posts:
    845
    Plugins:
    1
    Minecraft User:
    XenialDan
    You cant really create a fake tile. you need a chest (for example) being bound to this. I know how to spawn inventories.
    I also mentioned this.
    No bad idea.
    cake23 likes this.

Share This Page

Advertisement