Hey Guys!
This is my next plugin on SpigotMC.org. I am currently working on a
premium ressource which will take some time to finish.
Do me a favour and read this Post carefully and ask me for help before posting a bad rating Please post bugs, issues or suggestions in the "discuss-section"!
- Config with many options.
- Inventorydesign
- Send Player to Playbackserver
- Kick Player to Lobbyserver if replay is finished
- Itemdrop, Itemmove
- Data such as: game ID, duration, date, memory, server,
- Placeholder: %REPLAYAMOUNT%, %REPLAYPLAYERAMOUNT%, %ID%, %SERVER%, %MINUTES%:%SECONDS%, %REPLAYDATE%, %REPLAYMEMORY
- MySQL
![[IMG]](/proxy/image?url=https%3A%2F%2Fi.imgur.com%2FopIYtgF.png)
![[IMG]](/proxy/image?url=https%3A%2F%2Fi.imgur.com%2Fq8yA95f.png)
Code (YAML):
ReplayAddon
:
#ReplayAddon Prefix
prefix
:
"&4ReplayAddon | "
#Item on Join?
itemonjoin
: true
#Item
item
:
"NETHER_STAR"
#Itemdisplayname in Minecraft
itemname
:
"&4Replays"
#The Itemslot in a Hotbar
itemslot
: 4
#Enable or Disable Itemmove for Replayitem
itemmove
: true
#Enable or Disable Itemdrop for Replayitem
itemdrop
: true
#Enable or Disable /replaygui Command
command
: true
#Define the BungeeCord Servername for Replayshow
replayserver
:
"Replay-1"
#false on a Lobbyserver and true on a Replayserver
replayloadmode
: false
#Enable or Disable your inventoryopensound
openinventorysound
: true
#Look at here for Sounds: https://www.spigotmc.org/wiki/cc-sounds-list/
inventorysound
:
"BAT_LOOP"
#/replaygui is disable on replayloadmode
replayloadmodecommanderror
:
"&4You cannot execute this command here!"
#Player was kicked if the replay on end.
replaykickend
: true
#Message for replayend
replayendmessage
:
"&4The replay is now over so you have been sent to the lobby!"
#Replaykicktimer in Seconds (If replaykicked == true)
replayendtimer
: 5
#Replay was not found message
replaynotfound
:
"&cReplay was not found!"
#Has Replay not correctly create or is not finished then show by default Incorrect
replayincorrectplaceholder
:
"&cIncorrect"
#If option true then show the incorrects replay on Inventory
showincorrectreplays
: true
inventorysize
: 45
inventoryreplayamount
: 5
#%REPLAYAMOUNT% show the inventoryreplayamount size and %REPLAYPLAYERAMOUNT% the player current replayamount
inventorytitle
:
"&e%REPLAYAMOUNT% &7Playrounds"
inventoryreplayitem
:
"BOOK"
inventoryreplayitemname
:
"&7GameID: &e%ID%"
inventoryreplayitemdata:
- "&7Server
:
&e%SERVER%"
- "&7Duration
:
&e%MINUTES%:%SECONDS%"
- "&7Date
:
&e%REPLAYDATE%"
- "&7Memory
:
&e%REPLAYMEMORY%"
Placeholder:
itemid
:
"160:14"
inventoryslots
:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 18
- 19
- 27
- 28
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- Put the downloaded .jar-File in your plugins folder on LobbyServer and Replay (Playbackserver) restart the server
- Navigate into your Pluginfolder and search for the new created folder called "ReplayAddon"
- Go into, open the config.yml and mysql.yml and then fill the file with your informations. Restart the server again
- "Replayloadmode: true" must be in the config of the playback server.