Serveur minecraft

Multicraft – La solution d'hébergement Minecraft – Un bon serveur Minecraft – Monter un serveur MineCraft

Le 22 septembre 2019 - 6 minutes de lecture

Fonctions utilisateur listUsers ()
planche (
& # 39; Utilisateurs & # 39; =>
planche (
1 => & # 39; admin & # 39 ;,
)
)
findUsers (champ, valeur)
planche (
& # 39; Utilisateurs & # 39; =>
planche (
2 => & # 39; testeur & # 39 ;,
3 => & # 39; testUser2 & # 39 ;,
)
)
getUser (id)
planche (
& # 39; Utilisateur & # 39; =>
planche (
& # 39; id & # 39; => & # 39; 1 & # 39 ;,
& # 39; name & # 39; => & # 39; admin & # 39 ;,
& # 39; email & # 39; => & # 39; admin @ localhost & # 39 ;,
& # 39; global_role & # 39; => & # 39; none & # 39 ;,
)
)
getCurrentUser () (2.0.0)
planche (
& # 39; Utilisateur & # 39; =>
planche (
& # 39; id & # 39; => & # 39; 1 & # 39 ;,
& # 39; name & # 39; => & # 39; admin & # 39 ;,
& # 39; email & # 39; => & # 39; admin @ localhost & # 39 ;,
& # 39; global_role & # 39; => & # 39; none & # 39 ;,
)
)
updateUser (id, champ, valeur)
planche (
)
createUser (nom, email, mot de passe)
planche (
& # 39; id & # 39; => 2,
)
deleteUser (id)
planche (
)
getUserRole (user_id, server_id)
planche (
& # 39; rôle & # 39; => & # 39; propriétaire & # 39 ;,
)
setUserRole (user_id, server_id, role)
planche (
)
getUserFtpAccess (id_utilisateur, id_serveur)
planche (
Mode & # 39; & # 39; => & # 39; rw & # 39 ;,
)
setUserFtpAccess (user_id, server_id, mode)
planche (
)
getUserId (nom)
planche (
& # 39; id & # 39; => 3,
)
validateUser (nom, mot de passe) (2.0.0)
planche (
)
generateUserApiKey (user_id) (2.0.0)
planche (
    [api_key] => 123abc
)
getUserApiKey (user_id) (2.0.0)
planche (
    [api_key] => 123abc
)
removeUserApiKey (user_id) (2.0.0)
planche (
)
Fonctions du joueur listPlayers (id_serveur)
planche (
& # 39; Joueurs & # 39; =>
planche (
2 => & # 39; Test_Player2 & # 39 ;,
)
)
findPlayers (id_serveur, champ, valeur)
planche (
& # 39; Joueurs & # 39; =>
planche (
1 => & # 39; Test_Player & # 39 ;,
)
)
getPlayer (id) updatePlayer (id, champ, valeur)
planche (
)
createPlayer (nom_serveur, nom)
planche (
& # 39; id & # 39; => 2,
)
deletePlayer (id)
planche (
)
assignPlayerToUser (player_id, user_id)
planche (
)
Fonctions de contrôle listCommands (id_serveur)
planche (
& # 39; Commandes & # 39; =>
planche (
18 => & # 39; Test_Command & # 39 ;,
)
)
findCommands (server_id, field, value)
planche (
& # 39; Commandes & # 39; =>
planche (
18 => & # 39; Test_Command & # 39 ;,
)
)
getCommand (id) updateCommand (id, champ, valeur)
planche (
)
createCommand (id_serveur, nom, rôle, discussion, réponse, exécution)
planche (
& # 39; id & # 39; => 18,
)
deleteCommand (id)
planche (
)
Fonctions du serveur listServers ()
planche (
& # 39; Servers & # 39; =>
planche (
3 => & # 39; Minecraft Server & # 39 ;,
)
)
findServers (champ, valeur)
planche (
& # 39; Servers & # 39; =>
planche (
3 => & # 39; Minecraft Server & # 39 ;,
)
)
listServersByConnection (id_connexion)
planche (
& # 39; Servers & # 39; =>
planche (
3 => & # 39; Minecraft Server & # 39 ;,
)
)
listServersByOwner (ID utilisateur)
planche (
& # 39; Servers & # 39; =>
planche (
3 => & # 39; Minecraft Server & # 39 ;,
)
)
getServer (id)
planche (
& # 39; Serveur & # 39; =>
planche (
& # 39; id & # 39; => & # 39; 1 & # 39 ;,
& # 39; name & # 39; => & # 39; Test Server & # 39 ;,
& # 39; ip & # 39; => & # 39; & # 39 ;,
& # 39; port & # 39; => & # 39; 25565 & # 39 ;,
& # 39; dir & # 39; => & # 39; serveur1 & # 39 ;,
& # 39; world & # 39; => & # 39; & # 39 ;,
& # 39; joueurs & # 39; => & # 39; 8 & # 39 ;,
& # 39; mémoire & # 39; => & # 39; 0 & # 39 ;,
& # 39; start_memory & # 39; => & # 39; 0 & # 39 ;,
& # 39; jarfile & # 39; => & # 39; & # 39 ;,
& # 39; autostart & # 39; => & # 39; 0 & # 39 ;,
& # 39; default_level & # 39; => & # 39; 10 & # 39 ;,
& # 39; daemon_id & # 39; => & # 39; 1 & # 39 ;,
& # 39; advert_save & # 39; => & # 39; 1 & # 39 ;,
& # 39; kick_delay & # 39; => & # 39; 3000 & # 39 ;,
& # 39; suspendu & # 39; => & # 39; 0 & # 39 ;,
)
)
updateServer (id, champ, valeur)
planche (
)
createServerOn (daemon_id = 0, no_commands = 0, no_setup_script = 0)
planche (
& # 39; id & # 39; => 1,
)
createServer (name = & # 39; & # 39 ;, port = 0, base = & # 39; & # 39 ;, players = 0, no_setup_script = 0)
planche (
& # 39; id & # 39; => 1,
)
suspendServer (id, stop = 1)
planche (
)
resumeServer (id, start = 1)
planche (
)
deleteServer (id, delete_dir = & # 39; no & # 39 ;, delete_user = & # 39; no & # 39;)
planche (
)
getServerStatus (id, player_list = 0)
planche (
& # 39; état & # 39; => & # 39; en ligne & # 39 ;,
& # 39; onlinePlayers & # 39; => 0,
& # 39; joueurs & # 39; =>
planche (
)
& # 39; maxPlayers & # 39; => & # 39; 8 & # 39 ;,
)
getServerOwner (id_serveur)
planche (
& # 39; id_utilisateur & # 39; => 2,
)
setServerOwner (id_serveur, id_utilisateur)
planche (
)
getServerConfig (id)
planche (
& # 39; ServerConfig & # 39; =>
planche (
& # 39; id_serveur & # 39; => & # 39; 1 & # 39 ;,
& # 39; ip_auth_role & # 39; => & # 39; guest & # 39 ;,
& # 39; donner_role & # 39; => & # 39; mod & # 39 ;,
& # 39; tp_role & # 39; => & # 39; mod & # 39 ;,
& # 39; summon_role & # 39; => & # 39; mod & # 39 ;,
& # 39; chat_role & # 39; => & # 39; utilisateur & # 39 ;,
& # 39; user_jar & # 39; => & # 39; 0 & # 39 ;,
& # 39; user_ftp & # 39; => & # 39; 0 & # 39 ;,
& # 39; visible & # 39; => & # 39; 1 & # 39 ;,
& # 39; user_schedule & # 39; => & # 39; 1 & # 39 ;,
)
)
updateServerConfig (id, champ, valeur)
planche (
)
startServerBackup (id)
planche (
)
getServerBackupStatus (id)
planche (
& # 39; état & # 39; => & # 39; en cours d'exécution,
& # 39; time & # 39; => & # 39; 0 & # 39 ;,
& # 39; message & # 39; => & # 39;[World: world] & # 39;
& # 39; fichier & # 39; => & # 39; /home/minecraft/multicraft/servers/server1/world.zip&#39 ;,
Ftp & # 39; => & # 39; 192.168.1.75: 21 & # 39 ;,
)
startServer (id)
planche (
)
stopServer (id)
planche (
)
restartServer (id)
planche (
)
killServer (id) (2.0.0)
planche (
)
startAllServers ()
planche (
& # 39;[1]& # 39; => vrai succès,
& # 39;[1]données & # 39; =>
planche (
)
& # 39;[1]erreur & # 39; => false,
)
stopAllServers ()
planche (
& # 39;[1]& # 39; => vrai succès,
& # 39;[1]données & # 39; =>
planche (
)
& # 39;[1]erreur & # 39; => false,
)
restartAllServers ()
planche (
& # 39;[1]& # 39; => vrai succès,
& # 39;[1]données & # 39; =>
planche (
)
& # 39;[1]erreur & # 39; => false,
)
killAllServers () (2.0.0)
planche (
& # 39;[1]& # 39; => vrai succès,
& # 39;[1]données & # 39; =>
planche (
)
& # 39;[1]erreur & # 39; => false,
)
sendConsoleCommand (server_id, command)
planche (
)
sendAllConsoleCommand (commande)
planche (
& # 39;[1]& # 39; => vrai succès,
& # 39;[1]données & # 39; =>
planche (
)
& # 39;[1]erreur & # 39; => false,
)
runCommand (server_id, command_id, run_for = 0)
planche (
)
getServerLog (id)
planche (
0 =>
planche (
& # 39; line & # 39; => & # 39; / Chargement des propriétés de l'instance Minecraft / & # 39 ;,
)
)
clearServerLog (id)
planche (
)
getServerChat (id) clearServerChat (id)
planche (
)
sendServerControl (id, commande) (2.0.0)
planche (
)
getServerResources (id) (2.0.0)
planche (
    [cpu] => 0
    [memory] => 0
)
moveServer (id_serveur, id_demon) (2.0.0)
planche (
)
Fonctions de démon listConnections ()
planche (
& # 39; Daemons & # 39; =>
planche (
1 => & # 39; & # 39 ;,
)
)
findConnections (champ, valeur)
planche (
& # 39; Daemons & # 39; =>
planche (
1 => & # 39; & # 39 ;,
)
)
getConnection (id) removeConnection (id)
planche (
)
getConnectionStatus (id) getConnectionMemory (id, include_suspended = 0)
planche (
& # 39; total & # 39; => 2048,
& # 39; utilisé & # 39; => 1024,
)
getStatistics (daemon_id = 0, include_suspended = 0) (2.0.0)
planche (
    [daemons] => 1
    [daemon_memory] => 2048
    [servers] => 1
    [players] => 8
    [assigned_memory] => 256
)
Fonctions de réglage listSettings ()
planche (
& # 39; Paramètres & # 39; =>
planche (
DbVersion & # 39; => & # 39; 5 & # 39 ;,
& # 39; updateChecks & # 39; => & # 39; 1 & # 39 ;,
& # 39; anonStats & # 39; => & # 39; 1 & # 39 ;,
)
)
getSetting (clé)
planche (
& # 39; Réglage & # 39; =>
planche (
& # 39; clé & # 39; => & # 39; updateChecks & # 39 ;,
& # 39; valeur & # 39; => & # 39; 1 & # 39 ;,
)
)
setSetting (clé, valeur)
planche (
)
deleteSetting (clé)
planche (
)
Fonctions de planification listSchedules (id_serveur)
planche (
& # 39; Horaires & # 39; =>
planche (
1 => & # 39; horaire de test & # 39 ;,
2 => & # 39; Test Schedule 2 & # 39 ;,
)
)
findSchedules (id_serveur, champ, valeur)
planche (
& # 39; Horaires & # 39; =>
planche (
1 => & # 39; horaire de test & # 39 ;,
2 => & # 39; Test Schedule 2 & # 39 ;,
)
)
getSchedule (id) updateSchedule (id, champ, valeur)
planche (
)
createSchedule (id_serveur, nom, ts, intervalle, cmd, statut, pour)
planche (
& # 39; id & # 39; => 1,
)
deleteSchedule (id)
planche (
)
Fonctions de base de données getDatabaseInfo (id_serveur) (2.0.0)
planche (
    [host] => localhost
    [name] => mctemp_1
    [username] => mctemp_1
    [password] => 123abc
http://www.multicraft.org/site/docs?view=api =>
)
createDatabase (id_serveur) (2.0.0)
planche (
    [host] => localhost
    [name] => mctemp_1
    [username] => mctemp_1
    [password] => 123abc
http://www.multicraft.org/site/docs?view=api =>
)
changeDatabasePassword (id_serveur) (2.0.0)
planche (
    [host] => localhost
    [name] => mctemp_1
    [username] => mctemp_1
    [password] => 456def
http://www.multicraft.org/site/docs?view=api =>
)
deleteDatabase (id_serveur) (2.0.0)
planche (
)

Commentaires

Laisser un commentaire

Votre commentaire sera révisé par les administrateurs si besoin.