Code Monkey home page Code Monkey logo

acore_tempannouncements's Introduction

lua-temp-announcements

Lua script for Azerothcore with ElunaLUA for repeated announcements from a console/GM command.

Find me on patreon: https://www.patreon.com/Honeys

Requirements:

Compile your Azerothcore with Eluna Lua. Requires at least commit b824e9d18683ecfa498279de8ed1e49c1bfd887d of the Eluna Engine submodule hence commit 81548013dc0748c1aeb15179fed6b7fe861b64bc from mod-eluna-lua. The ElunaLua module itself usually doesn't require much setup/config. Just specify the subfolder where to put your lua_scripts in its .conf file.

If the directory was not changed in the ElunaLua config, add the .lua script to your ../lua_scripts/ directory as a subfolder of the worldserver.

Admin Usage:

Adjust the config flags in the .lua.

GM Usage:

Use .tannounce $limit $delay $text to do repeated server wide announcements.

$limit is the amount of broadcasts. 0 means until server restart or reload eluna.

$delay is the time between each repetition in minutes.

$text Is the exact text to broacast. No quotes required. Forbidden chars: ;"

.tannounce list shows all active temporary announcements

.tannounce delete $id deletes the temporary announcement

As an example:

.tannounce 0 15 Hello players, we love you!

will post a server wide announcement every 15min until the server restarts or eluna is reloaded.

.tannounce 24 30 Hello players, check this out!

will post a server wide announcement every 30min 24 times total. The counter will go on when the server restarts. The delay restarts at 30min for the first announcement after the restart/reload.

acore_tempannouncements's People

Contributors

55honey avatar r-o-b-o-t-o avatar

Watchers

 avatar  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.