• Chào bạn, hãy đăng ký hoặc đăng nhập để tham gia cùng bọn mình và sử dụng được đầy đủ chức năng của diễn đàn :).
InfiGamez

Hỏi về Plugin VN Lỗi

Trạng thái
Không mở trả lời sau này.

InfiGamez

DEVELOPER
THÀNH VIÊN
Tham gia
28/11/2016
Bài viết
404
@anhcraft help @@

15293
 
phải đặt auth trong config redis
 
YAML:
enabled: true

redis_server:
  hostname: localhost
  port: 6379
  password: ""

auth_link: "http://localhost:8080/?key={key}"

message_on_join:
  - "&fHi {player}. If you worry about showing your password,"
  - "you can use our secure authentication via external website"

wrong_password_message:
  - "&cWrong password! Please try again."
  - "&f(player={player}, key={key})"

send_auth_link_after_registration: true

check_interval_ticks: 60
?
 
trong config của redis ấy
thêm password vào phần auth
 
trong config của redis ấy
thêm password vào phần auth
JavaScript:
// your Redis server info
module.exports.redis_server_hostname = "localhost";
module.exports.redis_server_port = 6379;
module.exports.redis_server_pass = "password_here?";

// the port which the web server will listen to
module.exports.server_port = 8080;

// SSL info
module.exports.use_ssl = false; // enable if you want to use SSL
module.exports.ssl_cert_path = ""; // the path to .crt file
module.exports.ssl_key_path = ""; // the path to .key file
module.exports.ssl_passphrase = "";

// messages
module.exports.sent_password_message = "Your password was sent to the game! Please check it.";
module.exports.invalid_key = "Your key is invalid! May be it was expired?";
module.exports.illegal_access = "Illegal access!";
 
JavaScript:
// your Redis server info
module.exports.redis_server_hostname = "localhost";
module.exports.redis_server_port = 6379;
module.exports.redis_server_pass = "password_here?";

// the port which the web server will listen to
module.exports.server_port = 8080;

// SSL info
module.exports.use_ssl = false; // enable if you want to use SSL
module.exports.ssl_cert_path = ""; // the path to .crt file
module.exports.ssl_key_path = ""; // the path to .key file
module.exports.ssl_passphrase = "";

// messages
module.exports.sent_password_message = "Your password was sent to the game! Please check it.";
module.exports.invalid_key = "Your key is invalid! May be it was expired?";
module.exports.illegal_access = "Illegal access!";
cái đó là config web .-.
auth đó nằm trong config của redis cơ
 
YAML:
enabled: true

redis_server:
  hostname: localhost
  port: 6379
  password: "PASSWORD_HERE?"

auth_link: "http://localhost:8080/?key={key}"

message_on_join:
  - "&fHi {player}. If you worry about showing your password,"
  - "you can use our secure authentication via external website"

wrong_password_message:
  - "&cWrong password! Please try again."
  - "&f(player={player}, key={key})"

send_auth_link_after_registration: true

check_interval_ticks: 60
Config redis đâu á @@
 
YAML:
enabled: true

redis_server:
  hostname: localhost
  port: 6379
  password: "PASSWORD_HERE?"

auth_link: "http://localhost:8080/?key={key}"

message_on_join:
  - "&fHi {player}. If you worry about showing your password,"
  - "you can use our secure authentication via external website"

wrong_password_message:
  - "&cWrong password! Please try again."
  - "&f(player={player}, key={key})"

send_auth_link_after_registration: true

check_interval_ticks: 60
Config redis đâu á @@
/etc/redis/redis.conf
 
Ok fix được cái connection còn cái Reg Event nữa
 
Trạng thái
Không mở trả lời sau này.
Similar content Most view Xem thêm
Back
Top Bottom