AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Voice Rooms (v0.3 - 2015-11-07) (https://forums.alliedmods.net/showthread.php?t=273854)

stretchy 10-27-2015 16:28

[ANY] Voice Rooms (v0.3 - 2015-11-07)
 
2 Attachment(s)
[ANY] Voice Rooms (v0.3 - 2015-11-07)

Description:

This plugin is in beta! I've only had the chance to test it on CS:GO. There's no reason (that I know of) that would prevent this plugin from working on any other mod.

This plugin allows for the creation of voice rooms that players in the server can join. I created this because there was an increasing amount of players on my server that wanted to play music, tell jokes, one up each other on obnoxiousness, etc., and I wanted them to have a place to be able to do that.

Installation:

  1. Create a config file (or download the attached one) named voicerooms.cfg inside addons/sourcemod/configs/, use the following sample as a guide:
    Code:

    "VoiceRooms"
    {
        "room"        "General"  // Whatever room you create first will be used as the default room.
        "room"        "HLDJ"
        "room"        "Troll Den"
    }

  2. Place the "voicerooms.smx" inside of your plugins folder, and load it like any other plugin.
Usage:
  • The plugin creates one command: !voicerooms
  • The command brings up the available rooms that the user can switch to.
Future Plans:

These are some ideas for additional features, either from myself, or from people in the thread. I'd love to hear all ideas on how to make this plugin better, so leave your comments!
  • Admin Only Rooms
  • Displaying player's current room either on the scoreboard, in chat, or via a different command
  • Displaying the number of players in the room next to the room name (Added in v0.3)
  • Passworded Rooms
  • Autoupdate
  • Invite, kick, and move functions, so that players can invite others to their room, and admins can move/kick disruptive players.
  • The ability for admins to lock players in a room
Changelog:

Code:

2015-11-07 - v0.3: Added room count to the voicerooms menu.
2015-10-27 - v0.2: Fixed an issue where some users were still hearing others in a different room.
2015-10-27 - v0.1: Released Plugin


stretchy 10-27-2015 16:28

Re: [ANY] Voice Rooms (v0.1 - 2015-10-27)
 
Reserved for the future

sneaK 10-27-2015 17:14

Re: [ANY] Voice Rooms (v0.2 - 2015-10-27)
 
Really cool idea! Might I suggest the possibility of passworded rooms, where users can either specify their own password, or a random one is generated for them?

Neat idea, can't wait to try this out on my server :D

Lannister 10-27-2015 17:39

Re: [ANY] Voice Rooms (v0.2 - 2015-10-27)
 
Thanks for this amazing plugin iwould love also to set up a password for some rooms!

Keep up the good work

stretchy 10-28-2015 09:54

Re: [ANY] Voice Rooms (v0.2 - 2015-10-27)
 
Quote:

Originally Posted by blackhawk74 (Post 2357163)
Really cool idea! Might I suggest the possibility of passworded rooms, where users can either specify their own password, or a random one is generated for them?

Neat idea, can't wait to try this out on my server :D

Quote:

Originally Posted by Lannister (Post 2357171)
Thanks for this amazing plugin iwould love also to set up a password for some rooms!

Keep up the good work


Thanks for the feedback. Passwords would be nice, I'll have to spend some time thinking of the best way to implement that.

Chdata 10-28-2015 10:08

Re: [ANY] Voice Rooms (v0.2 - 2015-10-27)
 
The rooms created by the server owner in the .cfg could be like:

Code:

"VoiceRooms"
{
    "room"
    {
        "name" "Admin"
        "flags" "b" // generic admin only
        "pass" "cgadusub" // must know pass to enter
    }
    "room"
    {
        "name" "General"
    }
    "room"
    {
        "name" "HLDJ"
    }
    "room"
    {
        "name" "Troll Den"
    }
}


Every individual can create 1 room of their own, and set one of their own passwords.

Make a menu with the password setting command listed in a sort of 'instruction's panel after creating their own room.

sm_vr for voiceroom command

/vr create/open/make "name"
[SM] You have created a personal voiceroom.

/vr destroy/delete/close
[SM] You have deleted your personal voiceroom.

/vr lock
[SM] You have locked your personal voiceroom.
- Your room is still "registered" and perhaps saved by clientprefs - but it won't appear in the list of voicerooms and nobody can join. (People can leave).

/vr unlock
[SM] You have unlocked your personal voiceroom.
- Basically this command allows for saving a registered room via clientprefs. Make the rooms default to locked when a player's room is loaded from clientprefs.

/vr check
[SM] Your voiceroom, "name", is [un]locked, with [no/the] password[./: "pass"]

/vr password "pass"
[SM] You have set your voiceroom password to "pass".

/vr password off
or
/vr nopass
to disable it
[SM] You have disabled your voice room's password.

stretchy 10-28-2015 11:53

Re: [ANY] Voice Rooms (v0.2 - 2015-10-27)
 
Quote:

Originally Posted by Chdata (Post 2357360)
The rooms created by the server owner in the .cfg could be like:

Code:

"VoiceRooms"
{
    "room"
    {
        "name" "Admin"
        "flags" "b" // generic admin only
        "pass" "cgadusub" // must know pass to enter
    }
    "room"
    {
        "name" "General"
    }
    "room"
    {
        "name" "HLDJ"
    }
    "room"
    {
        "name" "Troll Den"
    }
}

....


I like the config setup to handle flags and such. I'm not sure every client should be able to make a room for themselves, but passwords are definitely happening.

m_bNightstalker 10-28-2015 15:24

Re: [ANY] Voice Rooms (v0.2 - 2015-10-27)
 
Any big difference to this plugin?
https://forums.alliedmods.net/showthread.php?t=162441

Hunter6272 10-28-2015 18:47

Re: [ANY] Voice Rooms (v0.2 - 2015-10-27)
 
Quote:

Originally Posted by m_bNightstalker (Post 2357430)

Well this one supports Csgo rather then the one you mentioned :)

mazdarx8 10-29-2015 08:58

Re: [ANY] Voice Rooms (v0.2 - 2015-10-27)
 
Very nice!

Maybe for next update:
If you type !voicerooms you will see rooms and how much players are in.


All times are GMT -4. The time now is 16:41.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.