File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed
bukkit/src/main/java/io/github/rothes/protocolstringreplacer Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "Version_Channels" : {
3+ "Stable" : {
4+ "Latest_Version_Number" : 118 ,
5+ "Log_Level" : " Info" ,
6+ "Actions" : [],
7+ "Message" : {
8+ "en-US" : " §bA new version of PSR (\" 2.19.4\" ) is available!\n §bDownload here: https://www.spigotmc.org/resources/protocolstringreplacer.96573/"
9+ }
10+ }
11+ },
12+ "Version_Actions" : {
13+ "0-999" : {
14+ "Log_Level" : " Info" ,
15+ "Actions" : [],
16+ "Message_Times" : 1 ,
17+ "Notify_In_Game" : false ,
18+ "Message" : {
19+ "en-US" : " §bEnjoy PSR? Join our Discord: https://discord.gg/zwzzkmYCBb" ,
20+ "zh-CN" : " §b喜欢PSR吗? 欢迎加入我们的 QQ群: 422532220 !"
21+ }
22+ },
23+ "0-45" : {
24+ "Log_Level" : " Error" ,
25+ "Actions" : [" Prohibit" ],
26+ "Message_Times" : 1 ,
27+ "Message" : {
28+ "en-US" : " §cThe version of PSR you are running has been prohibited by the server. This is usually due to a serious problem. Please update the plugin." ,
29+ "zh-CN" : " §c您使用的版本已被远程服务器禁止. 这通常是因为该版本存在重大问题. 请更新插件."
30+ }
31+ }
32+ }
33+ }
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ private void initMetrics() {
117117
118118 private String getJson (String domain , int tryTime ) {
119119 try (
120- InputStream stream = new URL ("https://" + domain + "/Rothes/ProtocolStringReplacer/master/Version%20Infos .json" )
120+ InputStream stream = new URL ("https://" + domain + "/Rothes/ProtocolStringReplacer/master/Version_Info .json" )
121121 .openStream ();
122122 BufferedReader reader = new BufferedReader (new InputStreamReader (stream , StandardCharsets .UTF_8 ))
123123 ){
You can’t perform that action at this time.
0 commit comments