Team plugin!

Discussion in 'Plugin Requests' started by se_er, Mar 9, 2017.

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

    se_er

    ***Anyone***
    /team create [teamName].
    Create a team
    /team join. Join a team
    /team leave. Leave your current team
    /team info. Get details about your team
    /team info [playerName]. Get details about a team
    /team msg [message]. Send only teammates a message
    /team chat. Toggle team chat only mode on or off
    /team hq. Teleport to the team headquarters
    /team rally. Teleport to the team rally point
    ***
    Team Managers Only***
    /team pass [password].
    Require a password. "none" removes
    /team kick [player]. Boot a player from the team
    /team promote [player]. Promote a player to manager status
    /team sethq. Set the team headquarters warp location
    /team setrally. Set the team rally point warp location
    /team disband. Disband the team. You must be the only manager

    And also that it notifies when someone has joined the team, set hq or rally point and if /team ff (friendly fire) is turned on or off!
     
    Last edited by a moderator: Mar 9, 2017
  2. Offline

    Caderape2

    @se_er
    I like the idea, i will give it a try ! What is your bukkit version ?
     
    Last edited: Mar 11, 2017
  3. Offline

    se_er

    Really sorry for the late response here but I'v been working on stuff, it's 1.8
     
  4. Offline

    Caderape2

    @se_er

    yo

    https://www.dropbox.com/s/dh8yqfm1vj08zb7/Team.jar?dl=0

    - One permission for admin: team.bypass
    - Command: /team or /t

    Check everything and tell me if you have error.

     
    Last edited: Mar 29, 2017
  5. Offline

    se_er

    Working perfectly!
    The ability to set a rally point is missing!

    Only other thing I could think of is to have it look a bit more "clean", thinking about the /t info.
    It could just say if a hq and rally point is set or not and tell the the password or just have it blank if there is none.
    I'm thinking that everything should show up in the chat aswell. Some things like when /t ff is enabled or disabled shows up above the hotbar.
    And to just have a straight up list of the players in the team instead of having "Managers" and "Members". Team Managers could have a the colour code, in this case &a (green) and members could have &8 (dark grey), also what I'd just personally prefer would be a combination of &9 and &7 colors.

    If you'd like to do that feel free otherwise it works pretty well!
     
    Last edited by a moderator: Mar 29, 2017
  6. Offline

    Caderape2

    @se_er
    I edited my fist link, you can doawnload it again. I modified the config so delete it and let t he plugin recreate it.

    - For the rally point, it's disabled by default. You have to enabled it and set if the chunk is protected or no.
    - Set 'ShowInActionBar' to false if you don't want message in the hotbar.
    - I modified the info method.
    - for colors, all messages are in the files message.yml. You can manage it as you want.
    - for the pasword, it will show in the info only to members of the team.
     
  7. Offline

    se_er

    Awesome!

    I noticed now that an option to demote team members is missing. Thought that might be because I haven't mentioned it, my bad :]

    With the /t info, you could perhaps design it somewhat like this:

    &9-------=[teamname]=-------
    &7password:
    &7headquarters set: [yes/no]
    &7rally point set: [yes/no]
    &7friendly fire is [off/on]
    &7Members:
    (if a player is a team "admin" they'll have &9, while regular member have &7)
    "player1"
    "player2"
    "player3"
    etc
    &9---------------------------------

    only one thing I might have been unclear with.
    With &9 and &7 I meant to change from the green and dark grey to those colors.
    So pretty much no green, dark grey, yellow or gold.
    The &c on "Admin command" was quite nice though :]
    I hope this isn't too much of a pain in the ass for you, you're really nice and helpful :)
     
    Last edited: Mar 29, 2017
  8. Offline

    Caderape2

    @se_er Are you sure you want a demote command ? team has no leader. With a demote command, any manager will be able to kick other members and disband the team.
     
  9. Offline

    se_er

    Hm..

    You can do it like this, remove the disband command and have it so the team is only disbanded when every player in the team has left.
     
  10. Offline

    Caderape2

    @se_er
    Actually, a manager have to to leave the team and join it back for be member.
    I did like this for keep it safe from malicious people. A manager cannot ruin a team withouth the agree of others managers.

    This is the same to keep the disband command and tell the last manager to use the disband command and not the leave command.

    I can modify this variable for 'allowManagerToDemoteEachOther' and add the demote command if you want.
    That should resolve your problem.
     
  11. Offline

    se_er

    alrighty then! :)
     
  12. Offline

    Caderape2

    @se_er

    Remove the folder team, i modified the config.yml and messages.yml. they need to be recreate well.

    The infos command is ok ? it looks ugly with only gray as a color i think :/
     
    Last edited: Mar 29, 2017
  13. Offline

    se_er

    If you could remove the spaces in the info I reckon it would look a bit better.
    And I thought more of it like exactly like this down here.

    &9-------=[teamname]=-------
    &7password: (if none, it's blank)
    &7headquarters set: [yes/no]
    &7rally point set: [yes/no]
    &7friendly fire is [off/on]
    &7Members: (Manager = &9 name colour, Member = &7 name colour)
    "player1"
    "player2"
    "player3"
    etc
    &9--------------------------------

    And the /team /t menu should also be in &9 and &7, kinda like this.

    &9***Anyone***
    &9/team create [teamName]. &7Create a team
    &9/team join. &7Join a team
    &9/team leave. &7Leave your current team
    &9/team info. &7Get details about your team
    &9/team info &7[playerName]. Get details about a team
    &9/team msg [message]. &7Send only teammates a message
    &9/team chat. &7Toggle team chat only mode on or off
    &9/team hq. &7Teleport to the team headquarters
    &9/team rally. &7Teleport to the team rally point
    &9***Team Managers Only***
    &9/team pass [password]. &7Require a password. "none" removes
    &9/team kick [player]. &7Boot a player from the team
    &9/team promote [player]. &7Promote a player to manager status
    &9/team demote [player]. &7Demotes a player to member status
    &9/team sethq. &7Set the team headquarters warp location
    &9/team setrally. &7Set the team rally point warp location
    &9/team disband. &7Disbands the team.
     
  14. Offline

    Caderape2

    @se_er get a look to message.yml
    Here you can modify color and message for the command /t

    I can add a mark for separate manager command and player command.

    this might be a problem to put one player by line. A team with 20 players will be too much for the minecraft chat.

    Edit: okay, i updated the download link.
    - I added a separator for command display. Only managers will se the manager commands.
    - in the team info, you will have a line status. ("&7- Status : &9Manager - &7Member - &r&oOffline"). And after the list of player in a string
     
    Last edited: Mar 29, 2017
  15. Offline

    se_er

    Super!

    now I'm really liking this! :)

    There's only three more things xD
    in the team info it says,
    - Password
    - FriendlyFire is off
    etc.. If you could just remove the "-" so it appears as,

    Password
    FriendlyFire is off
    etc..



    Also when you create a team, leave a team etc.. it appears with &a[TEAM]
    Could you just remove that aswell?

    and last, in the team info the "Offline" is white instead of grey.

    Overall thanks so much man you're amazing! :)
     
  16. Offline

    Caderape2

    @se_er
    I modified what you've asked. I updated the download link
     
  17. Offline

    se_er

    Wonderful!

    100% satisfied right now :) [diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond]
     
Thread Status:
Not open for further replies.

Share This Page