https://github.com/adrianvla/mcrat
A remote access tool for paper servers
https://github.com/adrianvla/mcrat
minecraft minecraft-plugin remote-access-tool
Last synced: 5 months ago
JSON representation
A remote access tool for paper servers
- Host: GitHub
- URL: https://github.com/adrianvla/mcrat
- Owner: adrianvla
- License: mit
- Created: 2022-06-04T14:55:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-03T21:29:01.000Z (over 1 year ago)
- Last Synced: 2025-03-31T22:05:20.807Z (10 months ago)
- Topics: minecraft, minecraft-plugin, remote-access-tool
- Language: Java
- Homepage:
- Size: 6.6 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MCRAT
### A minecraft remote access tool.
###### Mainly used to access the console and moderate the server when you don't have the ssh command installed
For Paper 1.20.1 (also compatible with other versions if you manage to compile it)
The rat.java file Is the remote access tool itself.
Recommended program for compiling: IntelliJ IDEA (or maven package)
It's going to be hooked up to chat commands in the main files
To change who can execute it, change it in the array:
```java
public String onlyrunners[] = new String[]{YOUR_PLAYER_NAME};
```
# Java Depencies
### Apache MINA-SSHD (included in the maven pom.xml file)
## Usage
#### NEW! version 1.1
### :ssh username password
Opens an Apache SSHD server
### :stopssh
Stops the ssh server
### :sh command
Runs a shell command on the server
### :stopsh
Stops the shell command and shows you the output in a book (commands like ping need to be stopped)
### :invincible
Toggles invincibility (also called god mode, this cancels damage for the player. When this is enabled, /kill doesn't work on the player)
### :download DOWNLOAD_TO:
Downloads a given file to the servers directory
### :cd
Lists all avaible folders in blue and avaible files in black in a book like GUI (to test it on linux servers, do :cd /)
----------------------------------------------------------------
version v0.0.1-alpha
### :lockconsole
A toggle command that prevents console command execution
### :flood
Floods the chat
### :lockcommands
A toggle command that prevents command execution from all players (even opped) (excluded MCRAT users)
### :spy
You see what commands / messages other players type, like Command Spy
### :reloadserver
Reloads Server
### :giveaccess playername
Gives Access to MCRAT to other players (per server session only)
### :revokeaccess playername
Removes Access to MCRAT to other players (per server session only)
### :disableplugin pluginname
Disables A Plugin (like if you removed it's file from the server directory)
### :enableplugin pluginname
Enables a plugin
### :plugins
Lists all avaible plugins (the red ones are disabled, the green ones are enabled)
### :status
Lists the status of all toggleable commands
### :op playername
Ops someone
### :deop playername
Deops someone
### :exec command
Executes that command from Console
### :sudo player chatmessage
Forces a player to say the chatmessage. If the chat message'd be something like /..., it'll be executed as a command
# Disclaimer
If you plan on using it, you agree you will install this plugin to servers you own or on servers you have permission to install plugins on. Only use this to access the servers files if you can't do this with the servers panel.
### By using, downloading, adapting in any shape or form this project, you agree to [CC By Sa](https://creativecommons.org/licenses/by-sa/4.0/) . This work is licensed under the same license (excluding every file that's in the libs/ folder).