Giter Club home page Giter Club logo

advisor's Introduction

Pour la version française: LISEZ-MOI.MD

λdvisor

An open source and expandable administration framework for your S&box (Sandbox) servers and addons.

But wait, S&box isn't out yet?!

Indeed, however, I have access to the dev preview!

What is λdvisor?

λdvisor (read: Advisor) is an administration addon in heavily development, built to provide the following features to your servers:

  • String based permission system.
  • Moderation commands.
  • Full administrative control of your server through an in-game menu.
  • Logging of user actions such as joining, leaving, chat messages, kills, bans and more.

As well as more down the line once we get more access to S&box. We're open for suggestions!

I'm a developer, what would λdvisor bring to me?

We'll be creating a simple to use API to give you access to the following features:

  • Custom commands through simple to use attributes and preconditions.
  • Querying the permissions service and adding custom permissions.
  • Implementing custom logging of your addon's events.
  • Access to custom events used by λdvisor with possibility of overriding results.
  • And more down the line!

Special Thanks

This addon is under development in collaboration with the community at Creators Area.

Do note the community there mostly speaks French.

advisor's People

Contributors

erlite avatar zaroslive avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

isunar erlite

advisor's Issues

Advisor Commands: Support for params in command arguments

This would give support for the follow command declaration:

[Command("kicktargets")]
public void KickTargets(params Player[] targets)
{
    // Kick all the targets here.
}

It would be executed in this manner: !kicktargets PlayerOne PlayerTwo

The command handler would likely need to read the entire remaining message arguments and keep converting these, then adding them to the object list for dynamic invocation.

Add more properties for CommandAttribute

Name of the requested feature/enhancement:
Expanding properties?

Description:
Instead of having this compact code

[Command("do-stuff", SandboxRealm.Shared, Description = "This command doing some stuff!", Target = TargetPermission.All)]
public void DoStuff()
{
}

we have

[Command("do-stuff", SandboxRealm.Shared)]
[Description("This command doing some stuff!")]
[Target(TargetPermission.All)]
public void DoStuff()
{
}

Additional context
Don't have

Potential S&box incompatibility: Reflection usage

One thing that's still unclear is whether or not Reflection will be allowed or not. While we'll be able to disable the access list serverside, not having Reflection clientside would cause a lot of issues, notably with populating commands.

Furthermore, not having Reflection clientside would stop us from running commands on the client after verifying if they have the permission serverside, and all commands will have to be ran on the server.

Potential Form of Some Intelisense

This repository contains some of the S&Box API (it hasn't been updated for a while so it's probably outdated), so this could be used to reduce the amount of errors and get some Intelisense, of course not all of it needs to be used but some of it being used could help a bit

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.