Giter VIP home page Giter VIP logo

antimony's Introduction

Antimony

An advanced, pluggable, open-source administration script for ROBLOX.

Plugs

Antimony's key feature is the plugs system. It allows developers to write commands for Antimony with minimal effort. All you do is create a ModuleScript and put it in the Plugs folder. A very basic plug looks like this:

local Example = {}

function Example:register(antimony)
end

return Example

All this does is define the Example:register method. Antimony calls this when loading the plug and should be where you register commands and permissions. It passes itself to this method, which means you can access all Antimony methods and properties (such as Antimony.config or Antimony:log).

Permissions System

Leading on from the previous topic, Antimony features a permissions and group system. Plugs define permissions which can then be used with commands or whatever they need. Groups can be modified to contain these permissions either through modifying the DataStore directly, or by using a graphical groups editor.

Contributing

The first thing you should do before doing anything with this repository is install Rojo. Antimony uses this tool to compile the scripts into ROBLOX model files for distribution (you can see one in the root of the repository called Antimony.rbxmx). Afterwards, you can clone the repository. We recommend running the applyGitHook.js script to install a git hook which will automatically rebuild the model file for you before your commit is sent. This makes sure that the other developers working on the project can easily pull down the project again and import the model file into Studio to test your changes, which you should be doing anyway. When committing, if you haven't installed the git hook, make sure you rebuild the model file by running rojo build -o Antimony.rbxmx. Please take note of the last x on the file extension. This is important because it generates an XML version of the model instead of a binary version, which means that changing scripts and recompiling the model file is quicker and doesn't require developers to re-get the entire model file over and over.

When creating a release build of Antimony, make sure to run rojo build -o Antimony.rbxm which will compile the scripts into a binary ROBLOX model file. The XML version of the model file (Antimony.rbxmx) is not appropriate for distribution due to its large size.

antimony's People

Contributors

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