Coder Social home page Coder Social logo

wolcano / commandforward Goto Github PK

View Code? Open in Web Editor NEW

This project forked from games647/commandforward

0.0 1.0 0.0 56 KB

This simple minecraft bukkit-bungee plugin forwards commands on the bungeecord side sent from bukkit

Home Page: https://www.spigotmc.org/resources/commandforward.27580/

License: MIT License

Java 100.00%

commandforward's Introduction

CommandForward

Description

This lightweight plugin to forward commands from the Bukkit-side to a Bungeecord server. It uses plugin-channels to communicate between the server instances. This part of a server->proxy->player connection and requires at least one player to be online. Therefore, we don't need to open a port and establish a new connection between the servers. Furthermore, on a RedisBungee environment it forwards the command only to currently used proxy by that specified player.

I'm open for suggestions.

If you like the project, leave a star on GitHub and contribute there.

Features

  • Lightweight
  • Easy to use
  • RedisBungee support (executes command only on the proxy of that player)
  • Forwarding as Player or Console

Warning

  • This plugin cannot forward commands to a Bungeecord server if no player is online

How to use

Setup

  • Drop the plugin in the Bungee and Bukkit server
  • Finished setup

Permissions

commandforward.bukkit.command.forward.* - Allow to use all features of forward command commandforward.bukkit.command.forward - Allow to use base forward command commandforward.bukkit.command.forward.console - Allow to use console in forward command commandforward.bukkit.command.forward.other - Allow to use another player than ourself in forward command

Using it

Execute this command on the Bukkit side

/forward bridgePlayer cmd [args...]

bridgePlayer is the player which connection should be used. This is relevant for receiving the output or selecting the correct proxy in a RedisBungee environment.

cmd is the start of the actual command [] means it's optional

Example Execute as Player:

/forward playerName ping

Example Execute as Console:

/forward console ping

This will select a random player to forward the connection to the Bungee server, but it will be executed as Bungee console there.

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.