Skip to content

How To Install

SWISSLP edited this page Dec 29, 2024 · 2 revisions

SwissLP's Simple Managing Plugin Wiki

Getting Started

1. Downloading the Plugin

To download the latest version of SwissLP's Simple Managing Plugin:

  1. Visit the [official GitHub repository.
  2. Navigate to the Releases section.
  3. Download the latest .jar file (e.g., SwissLPs_SimpleManagingPlugin.jar).
  4. Save the file to a known location on your computer.

2. Installing the Plugin

Once you’ve downloaded the plugin:

  1. Locate your Minecraft Bukkit/Spigot server directory.

  2. Open the plugins folder in your server directory.

  3. Move the downloaded .jar file into the plugins folder.

  4. Start or restart your server to load the plugin.

    • Command (if server is already running):
      /reload
  5. Verify the installation:

    • Check the server console for a message indicating that "SwissLP's Simple Managing Plugin" has been successfully loaded.

3. Configuring the Plugin

SwissLP's plugin does not require extensive configuration. However, you can customize certain aspects by editing the plugin's configuration file (if included in future versions).


How to Use the Plugin

Available Commands

Here’s how to use the commands provided by the plugin. Only players with admin privileges (/op) can execute these commands.

Timeout Management

  • Command: /timeout <Name> <Hours>
    Temporarily prevents a player from joining the server.
    Example: /timeout SwissLP 2

Block Logging

  • Command: /listblock
    Displays logs of all broken blocks, including who broke them and their positions.
    Example: /listblock

Chest Interaction Logs

  • Command: /listkiste
    Displays interaction logs for the chest you are currently looking at, including who interacted with it, what items were added/removed, and when.
    Example: /listkiste

Inventory Inspection

  • Command: /listinventar
    Opens a GUI showing all players. Clicking on a player’s head lets you view their inventory.
    Example: /listinventar

Backup Commands

  • Command: /backupchest
    Manually creates a backup of all chest interaction logs.
    Example: /backupchest

  • Command: /backupinventar
    Manually creates a backup of all player inventories.
    Example: /backupinventar

Restore Commands

  • Command: /restorechest <Timestamp>
    Restores the contents of a chest from a specified backup. You must be looking at the chest to restore it.
    Example: /restorechest 2024_12_01_00_00_00

  • Command: /restoreinventory <Name> <Timestamp>
    Restores a player’s inventory from a specified backup.
    Example: /restoreinventory SwissLP 2024_12_01_00_00_00


Automatic Backups

  • The plugin automatically creates backups for all chests and player inventories every day at midnight. These backups are stored in the plugins/SwissLPsPlugin/backups folder.

Troubleshooting

Plugin Doesn’t Load

  1. Ensure that you are running a Bukkit/Spigot server version compatible with Minecraft 1.21.
  2. Check the server console for error messages. If errors occur, ensure the .jar file was not corrupted during the download.
  3. Verify that the plugin is located in the correct plugins folder.

Commands Not Working

  • Verify that you have admin privileges (/op).
  • Double-check the command syntax and parameters.

Restoring Backups

  • Ensure you use the correct timestamp format for backup restoration. The format is YYYY_MM_DD_HH_MM_SS.

Contact and Support

For additional support, please visit the [GitHub repository] or open an issue in the repository's Issues section. SwissLP will respond as soon as possible.