• Trong thời gian này, bạn không thể tạo bài mới, đăng comment, hay tạo tài nguyên mới để diễn đàn dọn dẹp nội dung.
    Diễn đàn sẽ sớm mở trở lại, chi tiết hãy theo dõi tại Discord
InfiGamez

Hỏi đáp Lỗi

  • Người tạo bài đăng Người tạo bài đăng InfiGamez
  • Ngày gửi Ngày gửi
Trạng thái
Không nhận thêm bình luận.

InfiGamez

DEVELOPER
@anhcraft help @@

15293
 
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
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
 
Trạng thái
Không nhận thêm bình luận.

Thống kê nội dung

Ngày tạo
InfiGamez,
Bình luận cuối của
InfiGamez,
Bình luận
12
Lượt xem
1,067
Quay lại
Trên cùng