January 18, 2020, 05:11:13 am

The Gang Garrison 2 Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:


NOTICE: Due to a rise in bot activity, new posters need to be approved before posting.
Chat with us online! (or @irc.esper.net/#gg2)
Come Mumble with us!

Poll

Add /votekick? (lasts 1 round)

yes
- 57 (83.8%)
no
- 11 (16.2%)

Total Members Voted: 59


Pages: [1] 2 3 ... 16

Author Topic: [server-sent plugin] Chat - Console!  (Read 17700 times)

Lorgan

  • Retired Randomizer Mod Developer
  • Resident Miku
  • *****
  • Karma: 27
  • Offline Offline
  • Posts: 3656
    • My own website
[server-sent plugin] Chat - Console!
« on: May 05, 2013, 03:09:52 am »

This plugin uses the pluginpacket API to send chat messages.

features
New in chat v6:
- actual line wrapping that doesn't butcher your words!
- works with every aspect ratio!
- 60 fps support!
- more awesome in general

older:
- both normal chat (default key: y) and team chat (default key: u)
- all controls can be changed in the plugin menu.
- name change and chat join announcements
- proper color codes
- not a required server plugin. (Clients can choose if they want to use it or not)
- host gets a different text color so his messages stand out.
- line wrapping (if you use normal font settings at least)
- shouldn't trigger when writing text in a menu.
- support for console commands. type /help to display the commands and /help [command] for more info on that command. If it's still unclear ask it in this topic.
- support for nice source-like voting
- now also announces when chatters leave (all player info (join,leave,namechange) can be disabled in chat options))

*may contain mikus Probably not though... who would do such a thing?

Additional commands
chatplugins.zip contains some extra server plugins that add extra commands. Put the .gml files in your Plugins folder to use them (as a serverhost)
  • votemap.gml: Adds /votemap, /votenextround and /nextround (tip: create "votableMaps.txt" if you don't want people to vote on maps that are not in your maprotation)
  • votescrable.gml: Adds /votescramble
  • votemute.gml: Adds /votemute
  • votekick.gml: Adds /votekick and /kick. Note: chat-kicks act as temp-bans, you can not rejoin the server until it is rebooted or your ip changes.
  • party.gml: Adds /party

To use this plugin add chat to the end of ServerPluginList. split multiple server plugins with a comma.
« Last Edit: August 07, 2017, 03:16:26 am by Lorgan »
Logged
Unfortunately, turning a section into a communist oppressive regime is not against the forum rules, so there is really nothing we can do.
Quote from: steam
21:08 - Hullusorsa: lorgan, when will you buy us the keys?
21:09 - Lorgan: i'm waiting for greece to collapse so the value of the euro drops
21:09 - Lorgan: not even joking

GG2RBY

  • Guest
Re: [server-sent plugin] Chat
« Reply #1 on: May 05, 2013, 03:18:58 am »

So if I host with this, everyone on the server can use it?  :z4:

If so that's amazing
« Last Edit: May 05, 2013, 03:22:06 am by RBY »
Logged

21Dan

  • Guest
Re: [server-sent plugin] Chat
« Reply #2 on: May 05, 2013, 03:42:09 am »

If it's simple, without colored text and shit like that:
If so that's amazing
Logged

Nova

  • Seasoned Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1745
  • Personal Text
Re: [server-sent plugin] Chat
« Reply #3 on: May 05, 2013, 03:54:53 am »

It is both and I run it on my server.  :z6:
Logged

GG2RBY

  • Guest
Re: [server-sent plugin] Chat
« Reply #4 on: May 05, 2013, 03:59:27 am »

Lorgan is credit to team
Logged

ajf

  • (Ex-?)Developer and forum/web admin
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3509
  • she's never quite as dead as you think
Re: [server-sent plugin] Chat
« Reply #5 on: May 05, 2013, 04:03:35 am »

Hey Lorgan, now can I moan at you about lack of colour coding? :P
Logged
aka Andrea.

did you know that spinning stars work like this???

I've seen things you people wouldn't believe. execute_strings on fire off the shoulder of Overmars. I watched object-beams glitter in the dark near the room_goto_fix. All those moments will be lost in time, like tears...in...rain. Time to die.

Lord SecretMan

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 511
  • Idiot.
Re: [server-sent plugin] Chat
« Reply #6 on: May 05, 2013, 04:24:19 am »

Out of my way! Out of my way!



also funny chat lol
Logged

Nova

  • Seasoned Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1745
  • Personal Text
Re: [server-sent plugin] Chat
« Reply #7 on: May 05, 2013, 04:30:50 am »

Wow ok, maybe AJFs idea of not putting chat in the base game was a good idea. People be distracted.
Logged

Phantom Brave

  • All Hail Classicwell
  • Moderator
  • *****
  • Karma: 69
  • Offline Offline
  • Posts: 12740
  • Another one --
Re: [server-sent plugin] Chat
« Reply #8 on: May 05, 2013, 04:46:56 am »

that wasn't ajf's idea
Logged

http://steamcommunity.com/id/wareya/
ladies and gentlemen i would like to announce that the fact of the matter is up that the fact of the matter is a fact and it matters

Nova

  • Seasoned Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1745
  • Personal Text
Re: [server-sent plugin] Chat
« Reply #9 on: May 05, 2013, 05:36:49 am »

Yeah, regardless of who made the suggestion, it is not so awesome in the sctual game. Nobody speaks about "tactics" or "strategy".  More likely it is spoken about Secretman being a Loled.
« Last Edit: May 05, 2013, 05:37:07 am by Nova »
Logged

Knyron

  • New Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
  • Man, what a bunch of jokers
Re: [server-sent plugin] Chat
« Reply #10 on: May 05, 2013, 05:41:27 am »

Any chances to change the default keys?
Logged

Lorgan

  • Retired Randomizer Mod Developer
  • Resident Miku
  • *****
  • Karma: 27
  • Offline Offline
  • Posts: 3656
    • My own website
Re: [server-sent plugin] Chat
« Reply #11 on: May 05, 2013, 06:00:04 am »

Any chances to change the default keys?
maybe later

and damn i forgot to set the depth of the chatbox
Logged
Unfortunately, turning a section into a communist oppressive regime is not against the forum rules, so there is really nothing we can do.
Quote from: steam
21:08 - Hullusorsa: lorgan, when will you buy us the keys?
21:09 - Lorgan: i'm waiting for greece to collapse so the value of the euro drops
21:09 - Lorgan: not even joking

GG2RBY

  • Guest
Re: [server-sent plugin] Chat
« Reply #12 on: May 05, 2013, 06:08:02 am »

only reason they were distracted is because "holy shit chat", they'll stop being excited when they get used to it

also requests
  • Names are teamcolored
  • Teamchat
Logged

Lord SecretMan

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 511
  • Idiot.
Re: [server-sent plugin] Chat
« Reply #13 on: May 05, 2013, 06:08:53 am »

Loled.
OK FINE THIS IS THE GANG GARRISON 2 MEME
Logged

ajf

  • (Ex-?)Developer and forum/web admin
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3509
  • she's never quite as dead as you think
Re: [server-sent plugin] Chat
« Reply #14 on: May 05, 2013, 06:42:41 am »

that wasn't ajf's idea
I have supported that idea, though, at least I have lately.

EDIT: This is also the kind of thing I created the PluginPacket APIs for.

Out of my way! Out of my way!



also funny chat lol
Lorgan, you forgot to set the layer :hehe:

only reason they were distracted is because "holy shit chat", they'll stop being excited when they get used to it

also requests
  • Names are teamcolored
  • Teamchat
Team chat may not currently be possible. Well, it's possible, but the API doesn't allow you to send packets to specific clients, so everyone would receive the packets for private team chat. That's probably not a problem, since the plugin would obviously not show messages not meant for your team, but someone could possibly intercept team chat. :U
« Last Edit: May 05, 2013, 06:50:25 am by ajf »
Logged
aka Andrea.

did you know that spinning stars work like this???

I've seen things you people wouldn't believe. execute_strings on fire off the shoulder of Overmars. I watched object-beams glitter in the dark near the room_goto_fix. All those moments will be lost in time, like tears...in...rain. Time to die.
Pages: [1] 2 3 ... 16
 

Page created in 0.065 seconds with 55 queries.