Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
BenceX100 committed Jun 21, 2024
1 parent cb8a22d commit 68d04e6
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 15 deletions.
9 changes: 9 additions & 0 deletions Writerside/topics/AxGens-Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@
* Forces the /sell command to be the /selldrops
* This is only recommended if you can't disable other plugins' /sell

### simple-sell-command.enabled (default: false)

* Enabling this will remove the help from /selldrops and makes it run a sell action if it is used without any arguments
* For example if it is enabled and the action is set to all, when the player runs /selldrops, it will default to /selldrops all

### simple-sell-command.action (default: all)

* Possible options: all, hand, handall

### level-requirements (default: true)

* Should the level system be active?
Expand Down
9 changes: 5 additions & 4 deletions Writerside/topics/AxInventoryRestore-Commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

|-|-|
| Command | Description | Permission |
| /axir \<player\> | View backups of player | axir.view |
| /axir save \<player/*\> | Make a manual save | axir.manualbackup |
| /axir reload | Reload config & messages | axir.reload |
| /axir cleanup | Clean up old database entries based on the configured time | axir.cleanup |
| /axir view \<player\> | View backups of player | axinventoryrestore.view |
| /axir save \<player\> | Make a manual save for all online players | axinventoryrestore.manualbackup |
| /axir saveall | Make a manual save | axinventoryrestore.manualbackup |
| /axir reload | Reload config & messages | axinventoryrestore.reload |
| /axir cleanup | Clean up old database entries based on the configured time | axinventoryrestore.cleanup |
20 changes: 19 additions & 1 deletion Writerside/topics/AxInventoryRestore-Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,28 @@

* Should there be a backup created once in a while?

### automatic-backup.minutes (default: 5)
### automatic-backup.seconds (default: 180)

* How often should a backup be made if `automatic-backup.enabled` is true?

### menu-rows

* You can customize the row amount of the guis
* This can be a value between 2 and 6
* main-menu - First menu that appears when using /axir view \<name\>
* backup-selector - Second menu, appears after selecting a category

### compact-database (default: true)

* If your server often doesn't stop randomly and axir spams stuff, try disabling this
* Runs the databases builtin cleanup mechanism to decrease disk size
* If you have 100K+ backups or a lot of storage, you can disable this as this could slow down the server shutdown process

### enabled-backups

* You can disable categories by setting them to false
* This is useful if your server type doesn't require on of these events

### enable-discord-addon (default: false)

* More info: [Discord Addon](AxInventoryRestore-Discord-Addon.md)
18 changes: 9 additions & 9 deletions Writerside/topics/AxInventoryRestore-Permissions.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Permissions

* axir.admin or axir.* - Gives permission to everything
* axir.view - Access to viewing backups
* axir.modify - Ability to take items from backups
* axir.teleport - Access to teleport to backup location
* axir.restore - Access to use the quick restore feature
* axir.export - Access to export items in a shulker box
* axir.reload - Permission to use /axir reload
* axir.manualbackup - Permission to use /axir save \<player\> or /axir save *
* axir.cleanup - Permission to use /axir cleanup
* axinventoryrestore.* - Gives permission to everything
* axinventoryrestore.view - Access to viewing backups
* axinventoryrestore.modify - Ability to take items from backups
* axinventoryrestore.teleport - Access to teleport to backup location
* axinventoryrestore.restore - Access to use the quick restore feature
* axinventoryrestore.export - Access to export items in a shulker box
* axinventoryrestore.reload - Permission to use /axir reload
* axinventoryrestore.manualbackup - Permission to use /axir save \<player\> or /axir save *
* axinventoryrestore.cleanup - Permission to use /axir cleanup
1 change: 0 additions & 1 deletion Writerside/topics/AxInventoryRestore.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
## What is AxInventoryRestore?
* This plugin is a tool for server admins that logs player's inventories and lets staff restore it with 1 click or export it as a shulker. An inventory backup is made when a player dies, joins, quits, changes world, a backup is also taken every few minutes, (customizeable) and even manually.


## Features:
* Support for databases (SQLite, H2, MySQL, PostgreSQL)
* Multi server support (when using MySQL or PostgreSQL)
Expand Down

0 comments on commit 68d04e6

Please sign in to comment.