Code Monkey home page Code Monkey logo

terracmd's Introduction

TerraCmd - Fun & Admin Commands for tMod.

Permissions is required. TerraCmd will not function properly without it.

Features

  • Anti-hack: User is kicked on join if their health or mana is over their legitimate limits.
  • Currently Online userlist.
  • MOTD system. Editable in terracmd.txt (Settings file). Two variables at the moment. [player] = player name, [server] = server IP. (Don't think hostnames work)
  • MOTD can be colored to your liking. Change the motdR, motdG, motdB values to your liking as if it were a RGB scale.
    • A RGB color chart can be found here.
  • OP tag and coloring system. Same as the MOTD color system. Edit opR, opG, opB values as if it were a RGB scale.
  • Automatic map saving. Saves every 10 minutes.
  • Settings reload command.
  • Change server password in-game. (Doesn't persist over restarts, you must set it manually to persist.)
  • Our own Permissions support.

Permissions nodes

  • Antihack:
    • terracmd.antihack.bypass
      • Unaffected by antihack. Can enter the server with hacked stats.
  • Userlist:
    • terracmd.playerlist
      • Can use /list, /playerlist, /online, or /players to access the playerlist.
  • TerraCmd Settings reload:
    • terracmd.reload
      • Can use /terracmd in-game to reload plugin settings. (May be buggy)
      • User can also just be OP.
  • In-game password changing:
    • terracmd.password
      • Can use /password [newpassword] to temporarily change the server password.
      • Minimum of 3 characters, 0 characters will remove the password.
      • User can also just be OP.

To do

  • Add a settings value for antihack=OP and/or everyone.

Changelog

v1.3

  • On enable, if a setting isn't found, it will add the default value to the config and load that.
  • Added the option to change the auto-save interval.
  • Added the option to stop auto-save.
  • Added auto-backup at a configurable interval.
    • Currently disabled in v1.3. Came into some issues with threading.

v1.2.1

  • Compatible with TerraChat and General Commands by adding setting to switch off OP tagging/coloring.
    • You must add "opSetting=false" to your terracmd.txt config file for it to be switched off.

v1.2

  • Fixed chat messages showing before being logged in with Permissions.
  • Misc. other things to improve Permissions binding.

v1.1.1

  • Fixed the plugin reloading whenever someone did /login with Permissions and on /oplogin.
  • Fixed /terracmd command.

v1.1

  • Added Permissions support.
  • Added in-game password changing & settings reload commands.
  • Fixed up the OP tagging and coloring.
  • Updated for tMod 009.

v1.0

  • Initial release.

terracmd's People

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.