Inactive [FUN/MECH] Parties v1.3.1 - Lets players form parties. Includes party chat, TP, and more! [1185]

Discussion in 'Inactive/Unsupported Plugins' started by bekvon, Mar 16, 2011.

  1. Offline

    bekvon

    Parties - Gives players ability to form a party and teleport / chat to each other.
    Current Version: v1.3.1

    Features:
    • Lets players form parties.
    • Party chat (using the /pc command)
    • Each party has a party leader.
    • Different party types:
      • Open - Any player can join party freely using /party join [PartyName]
      • Invite - Requires a player already in the party to send a invite to somone wanting to get into the party.
      • Leader - Only the party leader can invite people.
    • Players in the party can send teleport requests to each other.
    • Parties persist even thorough server restarts.
    • Disable / Enable party PVP, party chat, and party TP (in the config)
    Commands:
    • /pc [Text] - send a chat message to everyone in your party.
    • /pc - Toggles on/off party chat mode (all your chat is party chat until turned off)
    • /party create [PartyName] <open|invite|leader> - creates a new party, if no type is specified, open is default.
    • /party leave - leaves your current party.
    • /party join [PartyName]
    • /party list - If your in a party, lists your party members, otherwise lists all party names.
    • /party invite [PlayerName] - invites PlayerName to your party.
    • /party accept - accepts a party invite
    • /party decline - declines a party invite.
    • /party tp [PlayerName] - sends a request to PlayerName for you to teleport to him/her.
    • /party tpaccept - accepts a request for somone to teleport to you.
    • /party tpdecline - declines a request for somone to teleport to you.
    • /party disband - disbands the party (if your leader)
    • /party kick [PlayerName] - kicks somone from the party (if your leader)
    • /party leader [PlayerName] - sets a new party leader (if your leader)
    Permissions:
    • parties.allow.chat
    • parties.deny.chat
    • parties.allow.tp
    • parties.deny.tp
    • parties.allow.join
    • parties.deny.join
    • parties.allow.create
    • parties.deny.create
    NOTE: if a player has neither allow nor deny for tp or chat, it will fall back on the default value which is stored in the config.yml. Also, allow is only needed to overrule a group inherited deny permission for party creation and joining. Allows take precedence over denys to make group inheritance work better.

    ChangeLog:
    v1.3.1 - 8/16/2011
    - Update to new bukkit permissions.


    v1.3 - 7/28/2011
    - Added custom colors
    - Added max party size option.

    v1.2.2 - 3/19/2011
    - Found out how to hide the onPlayerQuit nag...

    v1.2.1 - 3/19/2011
    - Updated to CB612 / Minecraft 1.4

    v1.2 - 3/19/2011
    - Added permissions support.

    Change Log (open)

    v1.1 - 3/17/2011

    - Fixed bug allowing players to join more then one party (delete your parties.dat when upgrading if this happend)
    - Made /pc toggleable
    - Added config file to allow changing of PVP and other settings in party.
    - Other miscellaneous tweaks.

    v1.0 - 3/16/2011

    - First Release


    Download:
    File: Parties
    Source: GitHub
    (Donate)
     
    zecheesy and Phaedrus like this.
  2. Offline

    Kainzo

    Anyway to get a bearbones just simple no pvp/damage each other?
     
    Gamingshadow1 likes this.
  3. Offline

    Tymewizard

    were are the nodes for permisions??? please help
     
  4. Offline

    leslieliang

    This is what I hope to see from this plugin. I'm going to try it out when I get home.
     
  5. Offline

    bekvon

    Aha! I knew i forgot something on the todo list :) I was planning on preventing pvp, shouldnt be to hard to do.

    I havn't created them yet, thats planned for a future version. Hopefully wont be too long.
     
  6. Offline

    Kainzo

    What I'm looking for is a basic party system with everything disabled except 1) pvp 2) maybe chat - can you make this configuration possible? We have plugins for everything else.
     
  7. Offline

    bekvon

    Yea, that shouldnt be too hard, when I find the time Il put in configuration for everything.

    OK, v1.1 released, added a bunch of config stuff and the prevent PVP code. Next release will focus on permissions, and then I'll look into getting the chat colors all set to be customizable.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 12, 2016
  8. Offline

    Kainzo

    Awesome job on the PVP code - testing this soon

    K - after testing it - I'm impressed - the auto party chat is very good too.

    I'm from Herocraft Coding and we're making a RPG professions plugin (aptly named Heroes) - we are looking at expanding to a party system - to use most of our features - we would also like to have our 'mage' class have the sole ability to use the "teleport while in party" feature.

    Would you mind if we use the source and adapt it to our needs or would you be interested in assisting in the creation of Heroes?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 12, 2016
  9. Offline

    bekvon

    Mmm, I could probably give you the source, but its a bit of a mess (all of mine are lol). Are you planning on having each class have its own permissions group? If so I could just make permissions nodes for all the commands and you can just give them to the appropriate classes. I also don't mind if you use this mod in Heroes as long as I'm credited somewhere. I actually could assist with your mod, but I don't have much time to do so (college student) and I'm on at very irregular hours.
     
  10. Offline

    Kainzo

    Yes - each class will have its own set of nodes - more or less
     
  11. Offline

    bekvon

    OK, permissions is in. They have not been 100% fully tested as its rather hard to test them by myself. Give them a try and let me know how it goes :)
     
  12. Offline

    Tim Yong

    Great plugin! Here is my version of a help page. Just use Help plugin and place this code in a file named Parties.yml

    Code:
    Parties:
        visible: true
        command: help Parties
        description: Group with others
        plugin: Parties
        main: true
    PartiesCreate:
        visible: true
        command: party create [PartyName]
        description: Start a party
        plugin: Parties
        main: false
    PartiesChat:
        visible: true
        command: pc
        description: Toggles on/off party chat mode
        plugin: Parties
        main: false
    PartiesInvite:
        visible: true
        command: party invite [Player]
        description: Invite a player to your party
        plugin: Parties
        main: false
    PartiesAccept:
        visible: true
        command: party accept
        description: Accept a party invite
        plugin: Parties
        main: false
    PartiesDecline:
        visible: true
        command: party decline
        description: Decline a party invite
        plugin: Parties
        main: false
    PartyList:
        visible: true
        command: party list
        description: Shows party members or parties
        plugin: Parties
        main: false
    PartiesJoin:
        visible: true
        command: party join
        description: Join an existing party
        plugin: Parties
        main: false
    PartiesTp:
        visible: true
        command: party tp [Player]
        description: Teleport to a willing party member
        plugin: Parties
        main: false
    PartiesTpAccept:
        visible: true
        command: party tpaccept
        description: Allow a member to teleport to you
        plugin: Parties
        main: false
    PartiesTpDecline:
        visible: true
        command: party tpdecline
        description: Decline a member to teleport to you
        plugin: Parties
        main: false
    PartiesKick:
        visible: true
        command: party kick [Player]
        description: Remove a member from the party
        plugin: Parties
        main: false
    PartiesLeader:
        visible: true
        command: party leader [Player]
        description: Make a party member the leader
        plugin: Parties
        main: false
    PartiesLeave:
        visible: true
        command: party leave
        description: Leave your current party
        plugin: Parties
        main: false
    PartiesDisband:
        visible: true
        command: party disband
        description: Delete your current party
        plugin: Parties
        main: false
     
  13. Offline

    bekvon

    Awesome! thanks for this :D
     
  14. Offline

    Kainzo

    *badget* any update for 602? ;)
     
  15. Offline

    BangL

    v1.2 @ CB#602 :

    Code:
    2011-03-31 14:34:13 [SEVERE] class com.bekvon.bukkit.parties.PartyPlayerListener overrides final method onPlayerQuit.(Lorg/bukkit/event/player/PlayerEvent;)V (Is it up to date?)
    java.lang.VerifyError: class com.bekvon.bukkit.parties.PartyPlayerListener overrides final method onPlayerQuit.(Lorg/bukkit/event/player/PlayerEvent;)V
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(Unknown Source)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:142)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:32)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at com.bekvon.bukkit.parties.Parties.onLoad(Parties.java:45)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:65)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)

    pls update :)
     
  16. Offline

    Killie01

    This is awesome for group exploring :D
     
  17. Offline

    treepunch

    Testing currently on #617. Appears to be working except for this message when players quit:

    Code:
    13:36:20 [SEVERE] Nag author: 'bekvon' of 'Parties' about the following: onPlayerQuit has been replaced with a new signature, (PlayerQuitEvent)
     
  18. Offline

    BioRage

    Really Like this plugin, but a few suggestions

    Could you make it so we can rename the commands? Or have an auto message when player invites you to party

    Because some people don't know the commands

    IE:

    You /party invite biorage
    MSG: BIORAGE HAS INVITE YOU TO PARTY !@K#LK!@#LK!@#L@! ... ./party accept or /party decline...
     
  19. Offline

    BangL

    1.2.1 at CB#617

    Code:
    2011-04-05 06:47:16 [SEVERE] Nag author: 'bekvon' of 'Parties' about the following: onPlayerQuit has been replaced with a new signature, (PlayerQuitEvent)
    
     
  20. Offline

    Phaedrus

    Our server has PvP.. so we don't show health in chat msgs by default, though we do use ichat.

    It would be nice if group members could see each others health somehow. either in party chat, or with a command maybe.
     
  21. Offline

    Birdtalon

    Event "onPlayerQuit" has been replaced with "PlayerQuitEvent"
     
  22. Offline

    bekvon

    I posted the source code for this project on GitHub incase anyone wants to add to it, as I don't have time to work on it right now, source link is right below the download :)
     
  23. Offline

    eastonch

    Crashed my server with the final error of "
    13:26:24 [SEVERE] Nag author: 'bekvon' of 'Parties' about the following: onPlayerQuit has been replaced with a new signature, (PlayerQuitEvent) "
     
  24. Offline

    sumusiko

    Help i gave permissions to my users to create parties but your plugin as the same party commands as mcMMO does and i didnt give them the party commands of mcMMO because yours is better now they cant create a party or anything related to it :S
     
  25. Offline

    bekvon

    If you know how to open and modify a jar file, you can fix it. Open the mcMMO jar file and extract plugin.yml. Then simply remove the "party" command from the list of registered commands and add the plugin.yml back to the jar and you will be good to go :) If you need better instructions, theres probably tutorials on Google that can do a better job then me.
     
  26. Offline

    sumusiko

    actually there was nothing on the plugin.yml lol just random 2-3 sentences nothing about party.
     
  27. Offline

    Phaedrus

    This is awesome.

    Feature requests
    1. nicer help system when you type /party
    2. being able to invite and tp to other players using partial names instead of full names
     
  28. Offline

    bekvon

    Small update to fix the onPlayerQuit nag everyone was having.

    Thats odd... I thought you had to register the commands there in order for them to work... guess I was wrong...:oops:

    I'm going to eventually get to the better help system, development on this is slow right now since I'm spending most of my time working on my Residence plugin. In the meantime, you can use the HelpPages help that was posted earlier. As for using partial names, yea can probably do that as well :)
     
  29. Offline

    Sorken

    Feature request:
    When /PC is enabled, using /PC <text> should route the text back to public chat (reverse from when its off)
     
  30. Offline

    Pomme72

    Does this plugin work with 733 ? :)
     

Share This Page