Jump to content




A better chat server | no need for new client | 7 commands


  • You cannot reply to this topic
4 replies to this topic

#1 wilcomega

  • Members
  • 466 posts
  • LocationHolland

Posted 25 March 2014 - 07:46 PM

so i found the chat program from the beta's pretty boring, so i decided to improve it
here is the changelog:
- added 7 commands
- /help - displays all the commands for the user availible, non admin if not admin
- /msg <name> <msg ..> - sends a private message to someone
- /name <name> - changes your username
- /admin <password> - if correct, gets you admin acces for the session
- /othername <name> <new name> - changes the name of everyone with <name> to <new name>
- /forcesay <name> <msg ..> - forces someone to say something, also works for commands
- /kick <name> - kicks everyone with <name>
- /shutdown <password> - stops the server if the password is correct
- added extra parameter to the host <password>
- added welcome message variable

basicly you just need to change your chat servers from "chat host name" to "chat host name password"
also its recomended that you change the welcome message to your own

this does now require a diffrent client, you just login with the normal client and all the features are there
so have fun!

installation:
pastebin get [url="http://pastebin.com/MvMymbGx"]MvMymbGx[/url] server
then make a startup file with the following code:
shell.run("server", "host", "hostname", "password")

plans for the future:
- add more commands of course!
- make an api for games and other programs to have in-game chat powered by a chat server

any suggestions are welcome
please use this but dont claim it for your self

-wilco

Edited by wilcomega, 25 March 2014 - 08:44 PM.


#2 amtra5

  • Members
  • 166 posts
  • LocationMelbourne, Australia

Posted 27 March 2014 - 08:58 PM

Any chance for a /mute?

#3 oeed

    Oversimplifier

  • Members
  • 2,095 posts
  • LocationAuckland, New Zealand

Posted 28 March 2014 - 10:36 AM

Nice to see some commands involved!

#4 Agoldfish

  • Members
  • 451 posts
  • LocationSome Fish Bowl in Ohio.

Posted 28 March 2014 - 04:11 PM

Also, !kick and/or !kickban would be nice.
Something to add our own commands would be even better.

#5 wilcomega

  • Members
  • 466 posts
  • LocationHolland

Posted 30 March 2014 - 09:44 AM

/mute is a cool idea, i could make a way to make your own scripts and run them on the server!

here is the idea for the smart and technical people:
you upload the file through the ftp protecol, once the server has got it it checks if you are an admin
if so, it will scan it for viruses ( still have to find a good virus scanner out there )
no viruses gives a good response, virus gives bad response.
then just do /run <scriptname> [arguments ..]

but that would require a modded client. and thats what i am trying to avoid

Edited by wilcomega, 30 March 2014 - 09:48 AM.






2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users