File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ import { configuration } from '../library/build/configurations.js';
88Server.on('ready', data => { 
99    Server.broadcast(`World has been loaded in ${data.loadTime} ticks!`); 
1010}); 
11+ 
12+ //This is how you would do the chat ranks 
1113Server.on('beforeMessage', data => { 
1214    if(data.message.startsWith(configuration.prefix)) return; 
1315    displayRank(data); 
Original file line number Diff line number Diff line change 1- import  {  writeLeaderboard  }  from  '../library/miscellaneous/leaderboard.js' ; 
21import  './commands/import-commands.js' ; 
32
43//Event Example 
@@ -10,6 +9,8 @@ import { configuration } from '../library/build/configurations.js';
109Server.on('ready', data => { 
1110    Server.broadcast(`World has been loaded in ${data.loadTime} ticks!`); 
1211}); 
12+ 
13+ //This is how you would do the chat ranks 
1314Server.on('beforeMessage', data => { 
1415    if(data.message.startsWith(configuration.prefix)) return; 
1516    displayRank(data); 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments