What is Spect+?
Spect+ is a plugin that allows you to have an interactive inventory at the end of the game when the player dies.
Spigot's Config
How to use the API?
By adding the plugin, on one of yours you will be able to:
teleport dead players to the center of the map
or integrate the “replay” item to restart a game
Spect+ is a plugin that allows you to have an interactive inventory at the end of the game when the player dies.
Spigot's Config
Code (YAML):
enable
: true
prefix : "&6[Spect&f+&6] &r"
start-message : "&aThe Plugin Spect+ is enable!"
close-message : "&aThe Plugin Spect+ is disable!"
configUpdate : "&aThe config was updated!"
Management:
gamemode : 1 < ---- Default gamemode while players is in spectator mode.
spectators_view : true < ---- Players in spectator mode can see each other.
#For this to work, you need to implement it in your game's plugin :
game:
world : "world"
X : 0.0
Y : 90.0
Z : 0.0
error:
onlyPlayer : "&cOnly player can execute it."
notPermission : "&cYou have not the permission."
alreadyOff : "&cError: This command is already disable."
alreadyOn : "&cError: This command is already enable."
commands:
spectator:
enable : true
syntax : "&cSyntax: /spectator (on/off)"
permission : "spectplus.commands.spectator"
hotbar:
replay:
name : "&eReplay"
lore : "&7Replay a game!"
material : NETHER_STAR
slot : 1
authorize : true < ---- item using or not.
players_list:
name : "&3Player List"
lore : "&7See who play!"
material : PLAYER_HEAD
slot : 4
authorize : true < ---- item using or not.
invname : "&8Players List" < ---- Inventory's title
phantom:
name : "&6Phantom Mode"
lore : "&7Be more in spectator mode!"
material : CLOCK
slot : 6
authorize : true < ---- item using or not.
timer : 5 < ---- in seconds
random_teleport:
name : "&8Random Teleportation"
lore : "&7Teleport you on any player!"
material : COMPASS
slot : 9
authorize : true < ---- item using or not.
none : "&cThere are not players to teleport to."
prefix : "&6[Spect&f+&6] &r"
start-message : "&aThe Plugin Spect+ is enable!"
close-message : "&aThe Plugin Spect+ is disable!"
configUpdate : "&aThe config was updated!"
Management:
gamemode : 1 < ---- Default gamemode while players is in spectator mode.
spectators_view : true < ---- Players in spectator mode can see each other.
#For this to work, you need to implement it in your game's plugin :
game:
world : "world"
X : 0.0
Y : 90.0
Z : 0.0
error:
onlyPlayer : "&cOnly player can execute it."
notPermission : "&cYou have not the permission."
alreadyOff : "&cError: This command is already disable."
alreadyOn : "&cError: This command is already enable."
commands:
spectator:
enable : true
syntax : "&cSyntax: /spectator (on/off)"
permission : "spectplus.commands.spectator"
hotbar:
replay:
name : "&eReplay"
lore : "&7Replay a game!"
material : NETHER_STAR
slot : 1
authorize : true < ---- item using or not.
players_list:
name : "&3Player List"
lore : "&7See who play!"
material : PLAYER_HEAD
slot : 4
authorize : true < ---- item using or not.
invname : "&8Players List" < ---- Inventory's title
phantom:
name : "&6Phantom Mode"
lore : "&7Be more in spectator mode!"
material : CLOCK
slot : 6
authorize : true < ---- item using or not.
timer : 5 < ---- in seconds
random_teleport:
name : "&8Random Teleportation"
lore : "&7Teleport you on any player!"
material : COMPASS
slot : 9
authorize : true < ---- item using or not.
none : "&cThere are not players to teleport to."
By adding the plugin, on one of yours you will be able to:
teleport dead players to the center of the map
Code (Text):
PlayerManager.getFromPlayer(player).teleportLocation();
or integrate the “replay” item to restart a game
Code (Java):
Material replay
=
new ItemBuilder
(Material.
valueOf
(Main.
getInstance
(
).
getConfig
(
).
getString
(
"hotbar.phantom.material"
)
)
).
getType
(
)
;
if (player. getInventory ( ). getItemInHand ( ). getType ( ) == replay ) {
ServerCommon ( ). launchQueue ( "lobby" ) ;
}
if (player. getInventory ( ). getItemInHand ( ). getType ( ) == replay ) {
ServerCommon ( ). launchQueue ( "lobby" ) ;
}
Attention
Development of the plugin has been discontinued. You can retrieve the source code via Github.Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.20
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Spect+ is a free Minecraft Java mod. Compatible with Minecraft 1.20. Downloaded 39 times (via Spigot). Download it and open it directly in the game.