# Camouf 2
Tuto: Installation
[Minestrator - Serveur Gratuit](https://minestrator.com/serveur/minecraft/gratuit)
Coming Soon™
[](https://papermc.io)
[](https://purpurmc.org)
[](https://github.com/Ghosty920/KamoofSMP-S2)
[](https://ghosty.im/discord?from=camouf2_modrinth)
English Version
The plugin Camouf, almost identical to the french youtuber and streamer [Sohran](https://www.youtube.com/c/Sohran)'s, recreated from scratch and [open-source](https://github.com/Ghosty920/KamoofSMP-S2).
The concept is simple: you kill someone, he drops his head, and by using it you totally steal his identity.
Added to this is a Ritual to have the choice between 2 pacts, "the bloody" and "the forgotten", each with a contrary precision: the fact of becoming more or less strong, but in return your head will fall three times, or not at all.
Here's a replay from Sohran, showing the ritual and a quick demo of the plugin:
Everything is fully configurable, and all the code is available online. The goal is to allow everyone to access these game modifications, without having to gather (random number trust) 10k people on the same discord, or having to wait forever.
## Commands
- **kamoofsmp**
- The command that encompasses all the others, and more
- Permission: ✖️ or `kamoofsmp.admin`
- **undisguise**
- Use this command to remove your disguise
- **givehead**
- Use this command to give yourself *any* head
- Permission: `kamoofsmp.admin`
## Configuration
It is also available on [GitHub](https://github.com/Ghosty920/KamoofSMP-S2/blob/main/assets/configs/english.yml)
config.yml
```yml
# INFORMATION:
#
# 1.
# Some of the messages are compatible with MiniMessage (when indicated)
# Full guide: https://docs.advntr.dev/minimessage/format
# You can preview them with the following site: https://webui.advntr.dev/
#
# 2.
# Some parameters are available in the NickAPI configuration only
# (like the GameProfile, or the TabComplete), found in plugins/NickAPI/config.yml
#
# 3.
# When a parameter ask you for a color, you can choose between
# the ones directly in Bukkit ( https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Color.html )
# or with an hexadecimal code ( https://htmlcolorcodes.com/ )
#
# 4.
# Thank you for using this plugin! If you ever need help, have
# a problem, or just want to talk to us, everything happens on my discord!
# https://ghosty.im/discord
# Language of the plugin
# Mostly applied to admin stuff
# Values: french / english
language: english
drophead:
# Dropping heads on death
# This process can be replaced by another plugin or datapack
enabled: true
# The name of the heads
name: "§e%player%"
# Description of the heads
lore:
- "§8Do a §lRight-Click §8with this head to disguise as the player it represents"
# This makes it possible for heads to be stackable
# This works best with https://modrinth.com/datapack/stackable-heads
stackable: false
disguise:
# Being able to place the heads
place-head: true
# Giving the head back when doing /undisguise and when using another head
give-back: false
# Recovering your skin when reconnecting
restaure: true
ritual:
# Being able to do a ritual to be offered a pact
# Recreated from Sohran's stream: https://youtu.be/bwUXg9q5gBA (segmented video)
enabled: true
# The maximum number of identical heads allowed
dupelimit: 1
# The minimum & maximum time to start a ritual
# Example: 0 & 12000 will prevent it during the night
# Put 0 & 24000 to disable it
min-time: 0
max-time: 24000
# The name of the item dropped at the end of the ritual
name: "§4Demonic Pact"
# The lore of this book
lore:
- "§7by §cLucifer"
# The content of the 2 pages to perform the different pacts
# %command1% = Bloody Pact, %command2% = Forgotten Pact
pages:
- "Bloody Pact
This pact allows you to increase your life by 5 hearts, but your next death will cost you 3 heads...
Will you accept it?
Click to accept this pact\">[Accept the Pact]"
- "Forgotten Pact
This pact allows you to leave no head behind you when you die, however for the rest of this life you will be weaker
Will you accept it?
Click to accept this pact\">[Accept the Pact]"
pactes:
bloody:
# Bloody Pact HP Boost
# HP = 2 x Hearts, i.e. 10 = 5 Hearts
hpboost: 10
# The number of heads that will drop on death
# This is enabled even when drophead is not
heads: 3
forgotten:
# The Forgotten Pact Weakness Level
weakness: 1
# The ritual animation settings
animation:
# Time increased in the world every 100ms (by default)
# Please use a divisor of your time-stop number: https://numberempire.com/18000
time-incr: 250
# The time at which the incrementation stop
# On the official, it seems to be 14000, on the original showcase 18000
time-stop: 18000
# The speed, in ticks, at which the incrementation does
# On the official it's 2, on the original showcase it's 3
time-speed: 2
# The color of the particles all around
color: "red"
# The size of the particles all around
size: 1
# The quantity of lightnings before the apparition of the sphere
lightning-quantity: 11
# The interval between each lightning spawn
lightning-interval: 2
sphere:
# Radius of the big blue sphere
radius: 2
# The number of particles constituting it
quantity: 750
# The color of the particles of the sphere
color: "aqua"
# The size of the particles of the sphere
size: 1
# The percentage chance of having a lava particle
lava-chance: 5
# If the lava particles should make a sound when dropping
lava-sound: false
# The settings of the animation when the pact is accepted
accepted:
# The radius of the lava sphere
lava-radius: 1.5
# The count of lava particles
lava-quantity: 300
# If the lava particles should make a sound when dropping
lava-sound: false
# The count of flame particles
flame-quantity: 500
# The speed/distance made by the flame particles
flame-speed: 0.5
# If the particles should be blue
flame-soul: true
# Information:
# There is no way to block the mace from being put into the enderchest (yet?)
# if you don't want this to happen, use a third party plugin, or just ask your players
macelimiter:
# Prevents too many masses from being crafted
# This does not apply to existing ones
enabled: true
# Limit of craftable masses
limit: 1
# Disallow putting the mace in the enderchest
no-enderchest: true
# This does not change with the language parameter, and must be changed manually
# They use MiniMessage
# Keep it empty to not send anything
messages:
# You just disguised yourself
# %player% = Original name, %nick% = Disguise
disguised: "You're now disguised as %nick%
[CLICK HERE] To remove your disguise or run /undisguise"
# You just died in disguise
# %player% = Original name, %nick% = Disguise
lostdisguise: "You lost your disguise when you died (rip bozo)"
# You just removed your disguise with /undisguise
# %player% = Original name, %nick% = Disguise
undisguise: "You just took off your disguise"
# You are trying to do /undisguise without disguise
# %player% = Player name
nodisguise: "You don't have a disguise"
# The ritual has just ended. This message is sent to all players
ritualdone: "The Pact of the Heads has been completed. FEAR ITS POWER IF YOU DARE!!"
# You chose the Bloody Pact
# %player% = Player name
chose-bloody: "You accepted the pact, here is your due, 5 extra hearts, finally, until your next death"
# You chose the Forgotten Pact
# %player% = Player name
chose-forgotten: "You accepted the pact, here is your due, weakness 1, but your head will not fall"
# You already have a pact but you are trying to choose one
# %player% = Player name
already-chose: "You have already chosen a pact"
# You died with the Bloody Pact
# %player% = Player name
death-bloody: "You have lost the effects of your pact, if you are able to die with this gift, then perhaps you are not deserving of this power"
# You died with the Forgotten Pact
# %player% = Player name
# If anyone has the real message, please contact us on discord
death-forgotten: "You have lost the effects of your pact, but with that your head has not fallen off"
# You can't start a ritual during this time
# %player% = Player name
ritual-wrong-time: "You can't start the ritual for the moment, come back later"
# You crafted a mace (with mace-limiter enabled)
# %player% = Player name
# %limit% = Limit of maces craftable
# %old% = Previous number of maces crafted
# %now% = New number of maces crafted
craft-mace: "You crafted a MACE, the limit is : %limit% copies"
# You log back in and get your disguise back (if restaure is enabled)
# %player% = Original name, %nick% = Disguise
restaure: ""
# Auto-update is a module to automatically check for a new plugin update
# This does not lag the server and is used to fix bugs, or add features
autoupdate:
# Allow the plugin to automatically check for updates, and notify admins & console
fetch: true
# Attempt to automatically download and replace the plugin, without any action on your part
download: true
metrics: true
```
Le plugin du KamoofSMP Saison 2, quasi identique à celui du youtuber et streamer [Sohran](https://www.youtube.com/c/Sohran), recréé de 0 en [open-source](https://github.com/Ghosty920/KamoofSMP-S2).
Le concept est simple: quand tu tues quelqu'un, il fait tomber sa tête, et en l'utilisant tu voles son identité.
À ça s'ajoute un Rituel pour avoir le choix entre 2 pactes, "Ensanglanté" et "Oublié", avec chacun une spécificité contraire: le fait de devenir plus ou moins fort, mais en contre partie ta tête tombera en triple, ou pas du tout.
Voici une rediffusion de Sohran, qui montre le rituel et une démo rapide du plugin:
Tout est configurable au maximum, et tout le code est disponible en ligne. L'objectif est de permettre à tout le monde d'accéder à ces modifications du jeu, sans devoir réunir (au hasard tkt) 10k personnes sur un même discord, ou devoir attendre une éternité.
## Commandes
- **kamoofsmp**
- La commande qui englobe toutes les autres, et +
- Permission: ✖️ ou `kamoofsmp.admin`
- **undisguise**
- Utilisez cette commande pour retirer votre déguisement
- **givehead**
- Utilisez cette commande pour vous donner *n'importe* quelle tête
- Permission: `kamoofsmp.admin`
## Configuration
Également disponible sur [GitHub](https://github.com/Ghosty920/KamoofSMP-S2/blob/main/assets/configs/french.yml)
config.yml
```yml
# INFORMATIONS:
#
# 1.
# Certains des messages sont compatibles avec MiniMessage (quand indiqué)
# Guide complet: https://docs.advntr.dev/minimessage/format
# Vous pouvez les prévisualiser avec le site suivant: https://webui.advntr.dev/
#
# 2.
# Certains paramètres sont disponibles dans la configuration de NickAPI uniquement
# (comme le GameProfile, ou le TabComplete), trouvables dans plugins/NickAPI/config.yml
#
# 3.
# Quand un paramètre est sur 'true' ou sur 'false', sachez que cela
# veut juste dire 'activé' et 'désactivé'. Aucune autre valeur n'est acceptée
# et vous DEVEZ le mettre en anglais !
#
# 4.
# Quand un paramètre vous demande une couleur, vous avez le
# choix entre les couleurs de base de Bukkit ( https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Color.html )
# et un code hexadécimal ( https://htmlcolorcodes.com/ )
#
# 5.
# Merci d'utiliser ce plugin ! Si jamais vous avez besoin d'aide, vous avez
# un problème, ou juste envie de nous parler, tout se passe sur mon discord !
# https://ghosty.im/discord
# Langue du plugin
# En majorité appliqué aux trucs admins
# Values: french / english
language: french
drophead:
# Le fait de drop les têtes à la mort
# Ce processus peut être remplacé par un autre plugin ou un datapack
enabled: true
# Le nom des têtes
name: "§e%player%"
# La description des têtes
lore:
- "§8Fais §lClick-Droit §8avec cette tête pour te déguiser en le joueur qu'elle représente"
# Ceci rend la possibilité aux têtes d'être stackable
# Cela fonctionne mieux avec https://modrinth.com/datapack/stackable-heads
stackable: false
disguise:
# Le fait de pouvoir poser les têtes
place-head: true
# Le fait de rendre la tête au /undisguise et quand tu utilises une autre tête
give-back: false
# Le fait de récupérer son skin au déco/reco
restaure: true
ritual:
# Le fait de pouvoir faire un rituel pour être proposé un pacte
# Recréé du stream de Sohran: https://youtu.be/bwUXg9q5gBA (vidéo segmentée)
enabled: true
# Le nombre maximum de têtes identiques autorisés
dupelimit: 1
# Les temps dans le monde minimum & maximum pour lancer le rituel
# Exemple: 0 & 12000 empêchera de lancer le rituel la nuit
# Mettez 0 & 24000 pour désactiver la vérification
min-time: 0
max-time: 24000
# Le nom de l'item drop à la fin du rituel
name: "§4Pacte Démonique"
# La description de ce même livre
lore:
- "§7par §cLucifer"
# Le contenu des 2 pages pour effectuer les différents pactes
# %command1% = Pacte Ensanglanté, %command2% = Pacte Oublié
pages:
- "Pacte Ensanglanté
Ce pacte te permet d'augmenter ta vie de 5 coeurs t'est proposé, mais ta prochaine mort te coûtera 3 têtes...
Vas-tu l'accepter ?
Clique pour accepter ce pacte\">[Accepter le Pacte]"
- "Pacte Oublié
Ce pacte te permet de ne pas laisser de tête derrière toi à ta mort, cependant durant le restant de cette vie tu seras plus faible
Vas-tu l'accepter ?
Clique pour accepter ce pacte\">[Accepter le Pacte]"
pactes:
bloody:
# Le boost de pv du Pacte Ensanglanté
# HP = 2 x Cœurs, autrement dit 10 = 5 Cœurs
hpboost: 10
# Le nombre de têtes qui tomberont à la mort
# Ceci est activé même quand drophead ne l'est pas
heads: 3
forgotten:
# Le niveau de Weakness du Pacte Oublié
weakness: 1
# Les différents paramètres de l'animation du rituel
animation:
# Le temps augmenté dans le monde toutes les 100ms (de base)
# Veuillez utiliser un diviseur de votre nombre: https://numberempire.com/18000
time-incr: 250
# Le temps au quel l'incrémentation s'arrête
# Sur l'officiel, ça semble être 14000, on la présentation originelle 18000
time-stop: 18000
# La vitesse, en ticks, à laquelle l'incrémentation se fait
# Sur l'officiel c'est 2, sur la présentation originelle c'est 3
time-speed: 2
# La couleur des particules présentes presque partout
color: "red"
# La taille des particules présentes presque partout
size: 1
# La quantité d'éclairs avant l'apparition de la sphère
lightning-quantity: 11
# L'intervalle entre l'apparition de chaque éclair
lightning-interval: 2
sphere:
# Rayon de la grande sphère bleue
radius: 2
# Le nombre de particules la constituant
quantity: 750
# La couleur des particules de la sphère
color: "aqua"
# La taille des particules de la sphère
size: 1
# Le pourcentage de chance d'avoir une particule de lave
lava-chance: 5
# Si les particules de lave produisent du son quand elles tombent
lava-sound: false
# Les paramètres de l'animation quand le pacte est accepté
accepted:
# Le rayon de la sphère de lave
lava-radius: 1.5
# Le nombre de particules de lave
lava-quantity: 300
# Si les particules de lave produisent du son quand elles tombent
lava-sound: false
# Le nombre de particules de flamme
flame-quantity: 500
# La vitesse/distance parcourue des particules de flamme
flame-speed: 0.5
# Si les particules de flamme doivent être bleues
flame-soul: true
# Information:
# Il n'y a pas de moyen de bloquer la mace from being put into the enderchest (pour le moment?)
# if you don't want this to happen, use a third party plugin, or just ask your players
macelimiter:
# Empêche trop de masses d'être craftées
# This does not apply to existing ones
enabled: true
# Limit of craftable masses
limit: 1
# Disallow putting the mace in the enderchest
no-enderchest: true
# This does not change with the language parameter, and must be changed manually
# They use MiniMessage
# Keep it empty to not send anything
messages:
# You just disguised yourself
# %player% = Original name, %nick% = Disguise
disguised: "You're now disguised as %nick%
[CLICK HERE] To remove your disguise or run /undisguise"
# You just died in disguise
# %player% = Original name, %nick% = Disguise
lostdisguise: "You lost your disguise when you died (rip bozo)"
# You just removed your disguise with /undisguise
# %player% = Original name, %nick% = Disguise
undisguise: "You just took off your disguise"
# You are trying to do /undisguise without disguise
# %player% = Player name
nodisguise: "You don't have a disguise"
# The ritual has just ended. This message is sent to all players
ritualdone: "The Pact of the Heads has been completed. FEAR ITS POWER IF YOU DARE!!"
# You chose the Bloody Pact
# %player% = Player name
chose-bloody: "You accepted the pact, here is your due, 5 extra hearts, finally, until your next death"
# You chose the Forgotten Pact
# %player% = Player name
chose-forgotten: "You accepted the pact, here is your due, weakness 1, but your head will not fall"
# You already have a pact but you are trying to choose one
# %player% = Player name
already-chose: "You have already chosen a pact"
# You died with the Bloody Pact
# %player% = Player name
death-bloody: "You have lost the effects of your pact, if you are able to die with this gift, then perhaps you are not deserving of this power"
# You died with the Forgotten Pact
# %player% = Player name
# If anyone has the real message, please contact us on discord
death-forgotten: "You have lost the effects of your pact, but with that your head has not fallen off"
# You can't start a ritual during this time
# %player% = Player name
ritual-wrong-time: "You can't start the ritual for the moment, come back later"
# You crafted a mace (with mace-limiter enabled)
# %player% = Player name
# %limit% = Limit of maces craftable
# %old% = Previous number of maces crafted
# %now% = New number of maces crafted
craft-mace: "You crafted a MACE, the limit is : %limit% copies"
# You log back in and get your disguise back (if restaure is enabled)
# %player% = Original name, %nick% = Disguise
restaure: ""
# Auto-update is a module to automatically check for a new plugin update
# This does not lag the server and is used to fix bugs, or add features
autoupdate:
# Allow the plugin to automatically check for updates, and notify admins & console
fetch: true
# Attempt to automatically download and replace the plugin, without any action on your part
download: true
metrics: true
```