Configuration JSONAPI

Steeven62300

Bucheron
30 Octobre 2013
10
0
12
44
Bonjour j'ai actuellement un serveur chez minecraft mania et le CMS SamantCMS.
Voici la configuration :
USER :
Code:
users:
- username: blackm
  password: MDP
  logging: true
  groups:
  - full_control
- username: blackm
  password: MDP
  logging: true
  groups:
  - chat_only
Config.yml serveur
Code:
method-whitelist:
- getPlayerLimit
- dynmap.getPort
options:
  stream_pusher:
    max_queue_age: 30
    max_queue_length: 500
  startup-delay: 2000
  port: 30049
  ip-whitelist: []
  log-to-console: true
  log-to-file: 'false'
  anyone-can-use-calladmin: true
  use-new-api: true
JSONapi_configuration site :
Code:
                <?php
                        // Ajout du fichier JSONAPI
                        require_once ("JSONAPI.php");
                       
                        ####### CONFIGURATION
                        $var_salt_1 = "Salt"; // cryptage
                        $var_ip_1 = "62.210.188.61";
                        $var_user_1 = "blackm";
                        $var_mdp_1 = "MDP";
                        $var_port_1 = "30049";
                   
                        ####### A NE PAS SUPPRIMER
                       
                        $connexion_1 = new JSONAPI($var_ip_1, $var_port_1, $var_user_1, $var_mdp_1, $var_salt_1);
                       
                        $server1 = $connexion_1->call("getPlayerCount");
                        $server1_limit = $connexion_1->call("getPlayerLimit");
                ?>

Quand on vote ou l'on achette un objet, rien ne se passe dans le serveur, pourquoi?
Plugin installé : JSONAPI , Vault , Protocolib

Merci d'avance
 
Salut,

Pourrais tu nous donner les logs au démarrage du serveur stp.
Regarde également si il n'y a pas un message dans la console lorsque tu votes.
Il faut aussi être sur que MinecraftMania à bien ouvert le port 30049 (ce qui n'est pas sur...)


Cordialement,
Detobel36
 
Code:
[00:26:49] [Thread-19/INFO]: [JSONAPI] Remote Toolkit cannot be loaded because it depends on a plugin that is not installed: 'RemoteToolkitPlugin'
[00:26:49] [Thread-19/INFO]: [JSONAPI] Dynmap cannot be loaded because it depends on a plugin that is not installed: 'dynmap'
[00:26:49] [Thread-19/INFO]: [JSONAPI] Dynmap cannot be loaded because it depends on a plugin that is not installed: 'dynmap'
[00:26:49] [Thread-19/INFO]: [JSONAPI] Remote Toolkit methods cannot be loaded because it depends on a plugin that is not installed: 'RemoteToolkitPlugin'
[00:26:49] [Thread-19/INFO]: [JSONAPI] 384 methods loaded in 7 namespaces.
[00:26:49] [Thread-19/INFO]: [JSONAPI] ------[Connection information]-------
[00:26:49] [Thread-19/INFO]: [JSONAPI] JSON Server listening on 30049
[00:26:49] [Thread-19/INFO]: [JSONAPI] JSON Stream Server listening on 30050
[00:26:49] [Thread-19/INFO]: [JSONAPI] JSON WebSocket Stream Server listening on 30051
[00:26:49] [Thread-19/INFO]: [JSONAPI] Active and listening for requests.
[00:26:49] [Thread-19/INFO]: [JSONAPI] External IP: 62.210.188.61
[00:26:49] [Thread-19/INFO]: [JSONAPI] Port 30049 is properly forwarded and is externally accessible.
[00:26:50] [Thread-19/INFO]: [JSONAPI] Port 30050 is properly forwarded and is externally accessible.
[00:26:50] [Thread-19/INFO]: [JSONAPI] Port 30051 is properly forwarded and is externally accessible.
Voici la console , aucun effet se passe lors d'un vote , aucun