GithubHelp home page GithubHelp logo

gmod-motd's Introduction

MOTD Support for Garry's Mod

This add-on enables a custom "message of the day" to be displayed to users upon connecting to the server. The MOTD should be an HTML or text file placed in cfg/motd.txt up to one megabyte in size. Files over one megabyte are not guaranteed to be rendered correctly by the client. This supports resolutions down to 640x480 so expect it to work even if you're running GMod on your toaster.

Icon

If you're handy with Lua, this add-on calls a custom client-side hook CloseMOTD when the user clicks "Let's Play" and closes the MOTD panel; you can take advantage of this to signal to the server to (e.g.) enlist the user to a team or display some other information after joining the game.

Using MOTD

Download this add-on from the Steam Workshop and write a MOTD (or copy one of the thousand examples out there) and place it in cfg/motd.txt. You should only really use this if you run a server; there are no dependencies for this add-on and it is entirely self-contained, no need to write a website or host a webpage just to display your MOTD.

Contributing / Source Code

All development of this add-on is done on the Github page for this project so all issues / feature requests should be submitted there by creating a new issue. Pull requests are respected and are actually very helpful in developing / maintaining this project.

gmod-motd's People

Contributors

yumi-xx avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.