[MECH/CHAT] MumbleRoom v0.2 - In-game regions to Mumble chat rooms [1337]

Discussion in 'Inactive/Unsupported Plugins' started by NuclearW, Aug 6, 2011.

  1. Offline

    NuclearW

    MumbleRoom - In-game regions to Mumble chat rooms
    Version: v0.2

    MumbleRoom lets you define regions using World Edit, then create mumble chat rooms that are tied to them. Walk into a MumbleRoom defined region in-game, and have your mumble client changed to the respective room.

    Installation:
    Read the installation instructions carefully, this is not for the non-technically adept server administrator.

    First, you need to change the way you launch craftbukkit. If you are using the -jar methor, remove the -jar and instead use this:
    Code:
    -classpath "craftbukkit-0.0.1-SNAPSHOT.jar;lib/*" org.bukkit.craftbukkit.Main
    Any other library folder is acceptable as well, for now lib should do just fine.

    Download Ice and put it in the lib folder you just defined in your startup.

    Next, you need to change your murmur settings.
    In murmur.ini make sure both icesecretread and icesecretwrite are commented out, not set to nothing, but commented out like such:
    Code:
    #icesecretread=
    #icesecretwrite=
    Further, ensure that ice is set as follows:
    Code:
    ice="tcp -h 127.0.0.1 -p 6502"
    Finally, you need to ensure you have WorldEdit installed. MumbleRoom requires WorldEdit

    With that done, download MumbleRoom and start it up, currently only 1-server setups supported, but this will change in future versions.

    Configuration:

    MumbleRooom will create a default config file with the following values set:
    Code:
    track-mode=player
    track-server-time=20
    track-mode: This option chooses which player tracking method to use; valid values are "player" and "server"
    • In "player" mode the plugin allows users to use /track and /untrack to enable/disable location tracking. This tracking is done via an async thread fired from onPlayerMove when players move a block in the x or z direction.
    • In "server" mode the plugin disables the /track and /untrack commands and instead handles all location tracking. This tracking is done via an async repeating task with a configurable repeat time (see track-server-time) that checks all online registered users for their current position.
    track-server-time: Time delay in Longs for track-mode=server
    • This value is ignored unless track-mode=server
    • This is the Long value delay in repeat. Once per second is 20, Twice per second is 10, and so on.
    Usage:
    • Registering:
      • Register your account on the linked Mumble server.
      • In-game, use /register <MumbleUsername>
      • You will recieve a code in Mumble to use to verify that you are the owner of both accounts.
      • Use /register @code to finish the registration process.
      • You may now at any time use /track or /untrack, to let MumbleRoom control room placement, or disable MumbleRoom room placement.
    • Creating regions/channels:
      • Use the WE selection tool to make a cuboid selection. Please note that Y is ignored by MumbleRoom
      • Use /create <Channelname...> to create a channel in the Mumble server with that name, and link it to the region you currently have selected. This will set you as the owner of this room.
      • Use /create <Channelname...> owner <username> to create a channel as in the above command, but set the owner to whomever you specify
    • Deleting regions/channels:
      • Deleting the Mumble channel is not enough!
      • In game, or in console, use /destroy <Channelname...> You may only do this if you have permission or are the owner
    Features:
    • Links places in-game to channels in a Mumble server
    • Bukkit Permissions
    Commands:
    • /register (<MumbleUsername>|@code) - Begin/end registration process
    • /track - Enable position tracking and MumbleRoom room placement
    • /untrack - Disable position tracking and MumbleRoom room placement
    • /create <Channelname...> [owner <MinecraftUsername>]
    • /destroy <Channelname...>
    Permissions:


    nodes (open)

    • mumbleroom.* - Implies all others. (Default OP)
    • mumbleroom.userdefaults - Imples .track and .untrack (Default True)
    • mumbleroom.track - Allows a user to use /track
    • mumbleroom.untrack - Allows a user to use /untrack
    • mumbleroom.create.* - Implies .create.self and .create.other
    • mumbleroom.create.self - Allows creation of channel with self as owner
    • mumbleroom.create.other - Allows creation of channel with other as owner
    • mumbleroom.destroy.* - Implies .destroy.self and .destroy.other
    • mumbleroom.destroy.self - Allows destruction of owned channels
    • mumbleroom.destroy.other - Allows destruction of any channels




    Download MumbleRoom

    Todo:
    • Allow parenting of all MumbleRoom channels to any user-specified channel
    • Find way to isolate a single server instance and allow user-specification
    • Add in translation support
    • Add in PermissionsEX/P2/P3 support
    • Add server track-type tracking exception
    • Fix all known bugs
    Known Bugs:
    • Destroying a channel/region in-game while still in that region causes it to return in the Mumble Channel list, but otherwise is removed.
    Changelog:

    • Version 0.2
      • Changed checking code to first check your last known region.
      • Added track-mode and track-server-time configuration options. (Thanks @codename_B for the suggestion)
      • Small bugfixes.
    • Version 0.1
      • Initial release.
    MumbleRoom was suggested by @codename_B in a thread about a possible event. This plugin was made with that event in mind.


    Thanks to @SpaceManiac for helping me figure some things out along the way.
     
    Graindcafe likes this.
  2. Offline

    codename_B

    :) YAY! Credit <3
    This is an awesome plugin - well done. I sent a small donation your way.
     
  3. Offline

    Sh00ck

    Omg is this awesome :D

    Support for Teamspeak ;) ?
    (Our Server is using Teamspeak.. :()


    @NuclearW
     
  4. Offline

    NuclearW

    Many thanks.
    Probably not going to happen, Teamspeak seems to have no RPC I can find, not to mention programming for any other RPC/Program is basically a total-rewrite. Sorry.

    Version 0.2:
    • Changed checking code to first check your last known region.
    • Added track-mode and track-server-time configuration options. (Thanks @codename_B for the suggestion)
    • Small bugfixes.

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

    DJAddi

    Nice plugin, very good job.
    Could you add Residence support, cause it is pretty much the same as WE/WG but with more features?!
    Have fun,

    Addi
     
  6. Offline

    NuclearW

    Sorry, I do not plan on adding any other region formats or hooks to this plugin, as it is a simple enough affair to simply select the same region again and register one with this plugin, which in the end provides more options and is overall more powerful.
     
  7. Offline

    Redyugi

    I like this, but we only have 4 people with Mumble on my server, so... lol.
     
  8. Offline

    NuclearW

    Perhaps it will provide an incentive for them to get on mumble.

    Give it a shot, see if you can't rouse your players to action. And I know that can be hard.
     
    Redyugi likes this.
  9. Offline

    Sh00ck

    Hmm ;)
    a new plugin ONLY for Teamspeak ;) ?

    a new Suggestion xD ?
     
  10. Offline

    NuclearW

    As I said, I can find no RPC for Teamspeak, which at the moment makes this very, very, hard. Sorry.
     
  11. Offline

    Sh00ck

    hmm :(
    Okay but thanks
     
  12. Offline

    NuclearW

    Give mumble a try though! You just might like it; sure it's different but it has a most excellent voice compression codec which results in it being very high quality and low-latency.
     
  13. Offline

    Sh00ck

    jeah but nobody is using Mumble...

    in Germany i think is Teamspeak more popular xD
     
  14. Offline

    Graindcafe

    It seems really nice !
     
  15. Offline

    NuclearW

    Many thanks, if you use this in a server please try both of the update modes and let me know which one works better!

    Well, I didn't say it was easy, but I guess you'll never know unless you give it a try!
     
  16. Offline

    Graindcafe

    I use mumble with a mysql database, can I still use your plugin ? And also, I use Towny, can you think about create channel per town ?
    If you want, I think I can help you (as you can see I'm a plugin developer)
     
  17. Offline

    ch96li

    Sweet! There are so many possibilities for this! And as Graindcafe said, could you integrate this into other plugins, personally, I would love to see this with Factions.
     
  18. Offline

    NuclearW

    The database should be no problem for this plugin.
    I currently do not have plans to use other regions systems for this plugin. However, I will keep it in mind and if it could be reasonably added I will add it as an option.
     
  19. Offline

    Graindcafe

    I have to use Ice with this plugin ? I currently don't use it so I rather don't use it for this plugin
     
  20. Offline

    NuclearW

    Yes, this plugin utilizes the Ice RPC to communicate with murmur. It was highly suggested over dbus for this purpose.

    Is there a specific problem that prevents you from you using Ice? It's just some settings changes in your ini
     
  21. Offline

    Graindcafe

    I just want to use the minimum services .. but I'm stupid, you have to communicate with murmur and the only way is use ICE.
     
  22. Offline

    Firewolf34

    Wow this is awesome! We have been running Mumble for a while, and we had issues with people using it to get around our restricted area chat on the server. Good job!
     
  23. Offline

    Montpelier

  24. Offline

    NuclearW

    I haven't tried since that's a client mod. But the both of these combined would seem to be most awesome.
    Thanks, glad someone else finds this useful!
     
  25. Offline

    NuclearW

    Confirmed working (better than ever) in CB1060
     
  26. Offline

    John McCarthy

    Wouldn't adding Teamspeak be a whole different type of programming. What am I trying to say, errr
    He writes code for plugins in Minecraft and Teamspeak is a whole different thing. I understand why it is difficult to add.

    Ohh and a question on the plugin is how to install it. It seems complicated. A video would be nice, if possible. I am not just asking you, the developer but also anybody who has been sucessfull with installation.
    I am sorry. I am used to "drag and drop the .jar and your done!" style plugins. I stupid :p

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  27. Might be an interesting option to allow the bridging of text based chat from in-game to mumble, especially for clients with text to speech.
     
  28. Offline

    shanedaman112

    Help!

    were is the lib folder to put ice.jar in???

    i dont understand were
    Code:
    -classpath "craftbukkit-0.0.1-SNAPSHOT.jar;lib/*" org.bukkit.craftbukkit.Main
    Is at
     
  29. Offline

    seriosbrad

    This is a really sweet ass plugin. Too bad I don't have enough users on my server to justify switching over from using Teamspeak to Mumble.
     
  30. Offline

    NuclearW

    You must create the lib folder in the same root path as your craftbukkit jar.

    The -classpath goes in place of your -jar command in your startup script.


    Thank you.
     

Share This Page