Niware Posté(e) le 30 décembre 2016 Posté(e) le 30 décembre 2016 Bonjour chers skripteurs , je fais appelle à vous car j'aimerai avoir Une Boutique : dès qu'on fait la commande /boutique cela ouvre un Menu Gui (1 rows) avec au slot 0 une golden nugget qui représente le grade Joueur+ , au slot 2 un or qui représente le grade Vip , au slot 4 un block d'or qui représente le grade Vip+ , au slot 8 la tete du joueur qui lui descript sa money et son grade actuel .Evidament des qu'on clique sur la golden nugget ,l'or et le bloque d'or le console execute la commande de /manuadd %player% . Prix des grades : Joueur+: 1000$ Vip: 5000$ Vip+: 20000$ J'espère etre assez precis ^^ . Un grand merci d'avance :D
Random Posté(e) le 30 décembre 2016 Posté(e) le 30 décembre 2016 command /boutique: trigger: wait 3 tick open chest with 1 row named "&6Boutique" to player format slot 0 of player with gold nugget named "&7Joueur +" to close then run [make player execute "grade joueurplus"] format slot 2 of player with gold ingot named "&3VIP" to close then run [make player execute "grade vip"] format slot 4 of player with gold block named "&bVIP +" to close then run [make player execute "grade vipplus"] format slot 8 of player with player's skull named "&cMoney: %player's balance%" with lore "&3%player's group%" to be unstealable command /grade [<text>]: trigger: arg 1 is set: arg 1 is "joueurplus": player's balance is bigger than or equal to 1000: remove 1000 from player's balance execute console command "manuadd %player% joueur+" send "&aVous avez acheté le grade &7Joueur +&a." else: send "&cVous n'avez pas assez de money." else if arg 1 is "vip": player's balance is bigger than or equal to 5000: remove 1000 from player's balance execute console command "manuadd %player% vip" send "&aVous avez acheté le grade &3VIP&a." else: send "&cVous n'avez pas assez de money." else if arg 1 is "vipplus": player's balance is bigger than or equal to 20000: remove 1000 from player's balance execute console command "manuadd %player% vip+" send "&aVous avez acheté le grade &BVIP +&a." else: send "&cVous n'avez pas assez de money." else: send "&cVeuillez utiliser le /boutique pour acheter un grade." else: send "&cVeuillez utiliser le /boutique pour acheter un grade." Nécessite SKQuery, API Permissions et une money vault
Niware Posté(e) le 30 décembre 2016 Auteur Posté(e) le 30 décembre 2016 Merci beaucoup mais il y une erreur : [server thread/ERROR]: ': %player's balance%" with lore "&3%player's group%" to be unstealable' is not a valid item data (shop.sk, line 8: format slot 8 of player with player's skull named "&cMoney: %player's balance%" with lore "&3%player's group%" to be unstealable')
Random Posté(e) le 30 décembre 2016 Posté(e) le 30 décembre 2016 "Nécessite API permissions" ... Va checker les Ressources de @PsYZiiK Et passe l'option Pex en GM 1
Skripting Posté(e) le 30 décembre 2016 Posté(e) le 30 décembre 2016 https://skript-mc.fr/forum/threads/%C2%AB-api-permissions-api-%C2%BB.8768/ 1
Niware Posté(e) le 30 décembre 2016 Auteur Posté(e) le 30 décembre 2016 [server thread/ERROR]: %player%'s suffix is not a registered custom expression. Not defined in any .skqc files. (api.sk, line 180: custom expression logic for "%player%'s suffix":') [server thread/ERROR]: suffix of %player% is not a registered custom expression. Not defined in any .skqc files. (api.sk, line 184: custom expression logic for "suffix of %player%":') [server thread/ERROR]: set[ the] %player%'s group to %string% is not a registered custom effect. Not defined in any .skqc files. (api.sk, line 203: custom effect logic for "set[ the] %player%'s group to %string%":') [server thread/ERROR]: set[ the] group of %player% to %string% is not a registered custom effect. Not defined in any .skqc files. (api.sk, line 206: custom effect logic for "set[ the] group of %player% to %string%":') [server thread/ERROR]: set[ the] %player%'s group to %string% in[ the][ world] %string% is not a registered custom effect. Not defined in any .skqc files. (api.sk, line 209: custom effect logic for "set[ the] %player%'s group to %string% in[ the][ world] %string%":') [server thread/ERROR]: set[ the] group of %player% to %string% in[ the][ world] %string% is not a registered custom effect. Not defined in any .skqc files. (api.sk, line 212: custom effect logic for "set[ the] group of %player% to %string% in[ the][ world] %string%":') [server thread/ERROR]: set[ the] prefix of[ the] group %string% to %string% is not a registered custom effect. Not defined in any .skqc files. (api.sk, line 215: custom effect logic for "set[ the] prefix of[ the] group %string% to %string%":') [server thread/ERROR]: set[ the] prefix of[ the] group %string% to %string% in[ the][ world] %string% is not a registered custom effect. Not defined in any .skqc files. (api.sk, line 218: custom effect logic for "set[ the] prefix of[ the] group %string% to %string% in[ the][ world] %string%":') [server thread/ERROR]: set[ the] suffix of[ the] group %string% to %string% is not a registered custom effect. Not defined in any .skqc files. (api.sk, line 221: custom effect logic for "set[ the] suffix of[ the] group %string% to %string%":') [server thread/ERROR]: set[ the] suffix of[ the] group %string% to %string% in[ the][ world] %string% is not a registered custom effect. Not defined in any .skqc files. (api.sk, line 224: custom effect logic for "set[ the] suffix of[ the] group %string% to %string% in[ the][ world] %string%":') [server thread/ERROR]: add[ the] permission %string% to[ the] %player% is not a registered custom effect. Not defined in any .skqc files. (api.sk, line 227: custom effect logic for "add[ the] permission %string% to[ the] %player%":') [server thread/ERROR]: add[ the] permission %string% to[ the] %player% in[ the][ world] %string% is not a registered custom effect. Not defined in any .skqc files. (api.sk, line 230: custom effect logic for "add[ the] permission %string% to[ the] %player% in[ the][ world] %string%":') [server thread/ERROR]: remove[ the] permission %string% from[ the] %player% is not a registered custom effect. Not defined in any .skqc files. (api.sk, line 233: custom effect logic for "remove[ the] permission %string% from[ the] %player%":') [server thread/ERROR]: remove[ the] permission %string% from[ the] %player% in[ the][ world] %string% is not a registered custom effect. Not defined in any .skqc files. (api.sk, line 236: custom effect logic for "remove[ the] permission %string% from[ the] %player% in[ the][ world] %string%":') [server thread/ERROR]: add[ the] permission %string% to[ the] group %string% is not a registered custom effect. Not defined in any .skqc files. (api.sk, line 239: custom effect logic for "add[ the] permission %string% to[ the] group %string%":') [server thread/ERROR]: add[ the] permission %string% to[ the] group %string% in[ the][ world] %string% is not a registered custom effect. Not defined in any .skqc files. (api.sk, line 242: custom effect logic for "add[ the] permission %string% to[ the] group %string% in[ the][ world] %string%":') [server thread/ERROR]: remove[ the] permission %string% from[ the] group %string% is not a registered custom effect. Not defined in any .skqc files. (api.sk, line 245: custom effect logic for "remove[ the] permission %string% from[ the] group %string%":') [server thread/ERROR]: remove[ the] permission %string% from[ the] group %string% in[ the][ world] %string% is not a registered custom effect. Not defined in any .skqc files. (api.sk, line 248: custom effect logic for "remove[ the] permission %string% from[ the] group %string% in[ the][ world] %string%":') [server thread/INFO]: [skript] Encountered 22 errors while reloading api.sk!
Random Posté(e) le 30 décembre 2016 Posté(e) le 30 décembre 2016 J'imagine que tu n'as pas lu/respecté la partie Installation ? >.< 2
Niware Posté(e) le 30 décembre 2016 Auteur Posté(e) le 30 décembre 2016 J'ai suivis les instructions et maintenant sa marche :D Merci beaucoup Comme d'hab on oublie pas de mettre un like et de mettre en Résolu :P
Messages recommandés