AuthMe spawn teleport

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
Uživatelský avatar
Rukes
Příspěvky: 95
Registrován: 16 kvě 2014, 16:55
Reputation: 0

AuthMe spawn teleport

#1 Příspěvekod Rukes » 04 led 2016, 18:15

Server: 82.208.17.27:27677

Zdravím,
zoufale vás žádám o pomoc. Prošel jsem a kombinoval různě celý AuthMe config a nedošel k výsledku který potřebuji.
Takhle, chci aby hráč když se připojí tak aby byl teleportován na spawn toho světa. Tj. odpojím se ve světě A a při připojení jsem na spawnu světa A. Aktuálně to mám tak, nevím proč že když se odpojím ze světa B, C nebo dalších, jsem na spawnu v A (hlavním světě).

Poznámky:
1. Online-mode nepotřebuji
2. Sem jsem koukal :)
3. Mám nejnovější verzi Multiverse a Essentials Spawn nepoužívám (kdyby se někdo ptal)

Děkuji, MrRukes.

PS. dodávám AuthMe config.yml

Kód: Vybrat vše

DataSource:
  mySQLColumnName: username
  mySQLTablename: authme
  mySQLUsername: Nope :D
  backend: mysql
  mySQLColumnLastLogin: lastlogin
  mySQLDatabase: Nope :D
  mySQLPort: '---'
  mySQLColumnIp: ip
  mySQLHost: Nope :D
  mySQLColumnPassword: password
  mySQLPassword: Nope :D
  caching: true
  mySQLlastlocX: x
  mySQLlastlocY: y
  mySQLlastlocZ: z
  mySQLlastlocWorld: world
  mySQLColumnEmail: email
  mySQLColumnId: id
  mySQLColumnLogged: isLogged
GroupOptions:
  UnregisteredPlayerGroup: ''
  RegisteredPlayerGroup: ''
  Permissions:
    PermissionsOnJoin: []
settings:
  sessions:
    enabled: false
    timeout: 10
    sessionExpireOnIpChange: false
  restrictions:
    allowChat: false
    allowCommands:
    - /login
    - /register
    - /l
    - /reg
    - /passpartu
    - /email
    - /captcha
    maxRegPerIp: 4
    maxNicknameLength: 20
    ForceSingleSession: false
    ForceSpawnLocOnJoinEnabled: false
    SaveQuitLocation: false
    AllowRestrictedUser: false
    AllowedRestrictedUser:
    - playername;127.0.0.1
    kickNonRegistered: false
    kickOnWrongPassword: false
    teleportUnAuthedToSpawn: false
    minNicknameLength: 3
    allowMovement: false
    timeout: 30
    allowedNicknameCharacters: '[a-zA-Z0-9_]*'
    allowedMovementRadius: 100
    enablePasswordVerifier: true
    ProtectInventoryBeforeLogIn: false
    displayOtherAccounts: true
    ForceSpawnOnTheseWorlds: {}
    banUnsafedIP: false
    spawnPriority: authme,essentials,multiverse,default
    maxLoginPerIp: 1
    maxJoinPerIp: 1
    noTeleport: false
    allowedPasswordCharacters: '[\x21-\x7E]*'
  GameMode:
    ForceSurvivalMode: false
    ResetInventoryIfCreative: false
    ForceOnlyAfterLogin: false
  security:
    minPasswordLength: 4
    unLoggedinGroup: unLoggedinGroup
    passwordHash: SHA256
    doubleMD5SaltLength: 8
    supportOldPasswordHash: false
    unsafePasswords: {}
  registration:
    enabled: true
    messageInterval: 5
    force: true
    enableEmailRegistrationSystem: false
    doubleEmailCheck: false
    forceKickAfterRegister: false
    forceLoginAfterRegister: false
  unrestrictions:
    UnrestrictedName: []
  messagesLanguage: en
  forceCommands: []
  forceCommandsAsConsole: []
  forceRegisterCommands: []
  forceRegisterCommandsAsConsole: []
  useWelcomeMessage: false
  broadcastWelcomeMessage: false
  delayJoinMessage: true
  applyBlindEffect: true
ExternalBoardOptions:
  mySQLColumnSalt: ''
  mySQLColumnGroup: ''
  nonActivedUserGroup: -1
  mySQLOtherUsernameColumns: []
  bCryptLog2Round: 10
  phpbbTablePrefix: phpbb_
  phpbbActivatedGroupId: 2
  wordpressTablePrefix: wp_
permission:
  EnablePermissionCheck: false
BackupSystem:
  ActivateBackup: false
  OnServerStart: false
  OnServerStop: true
  MysqlWindowsPath: C:\\Program Files\\MySQL\\MySQL Server 5.1\\
Passpartu:
  enablePasspartu: false
Security:
  SQLProblem:
    stopServer: true
  ReloadCommand:
    useReloadCommandSupport: true
  console:
    noConsoleSpam: false
    removePassword: true
  captcha:
    useCaptcha: false
    maxLoginTry: 5
    captchaLength: 5
Converter:
  Rakamak:
    fileName: users.rak
    useIP: false
    ipFileName: UsersIp.rak
  CrazyLogin:
    fileName: accounts.db
Email:
  mailSMTP: smtp.gmail.com
  mailPort: 465
  mailAccount: ''
  mailPassword: ''
  mailSenderName: ''
  RecoveryPasswordLength: 8
  mailSubject: Your new AuthMe Password
  mailText: 'Dear <playername>, <br /><br /> This is your new AuthMe password for
    the server <br /><br /> <servername> : <br /><br /> <generatedpass><br /><br />Do
    not forget to change password after login! <br /> /changepassword <generatedpass>
    newPassword'
  maxRegPerEmail: 1
  recallPlayers: false
  delayRecall: 5
  emailBlacklisted:
  - 10minutemail.com
  emailWhitelisted: []
  generateImage: true
Hooks:
  multiverse: true
  chestshop: true
  bungeecord: false
  disableSocialSpy: false
  useEssentialsMotd: false
  customAttributes: false
Performances: {}
Purge:
  useAutoPurge: false
  daysBeforeRemovePlayer: 60
  removePlayerDat: false
  removeEssentialsFile: false
  defaultWorld: survival
  removeLimitedCreativesInventories: false
  removeAntiXRayFile: false
  removePermissions: false
Protection:
  enableProtection: false
  countries:
  - A1
  countriesBlacklist:
  - A1
  enableAntiBot: true
  antiBotSensibility: 3
  antiBotDuration: 10
VeryGames:
  enableIpCheck: false

Kód: Vybrat vše

    User profile = Spigot.getUsersByName("Rukes");
    return (profile.getLanguages().contains(Language.JAVA) && profile.getAge() == 15);

MarekBurget

Re: AuthMe spawn teleport

#2 Příspěvekod MarekBurget » 04 led 2016, 18:21

Kód: Vybrat vše

ForceSpawnOnTheseWorlds: {}


vlož tam toto:
takto to kombinuj:

Kód: Vybrat vše

    ForceSpawnOnTheseWorlds:
    - world
    - world_nether
    - world_the_end


dalej si vkladaj svety v ktorom maš spawn.

-- 04 led 2016, 17:23 --

taktiež povol:

Kód: Vybrat vše

ForceSpawnLocOnJoinEnabled: false

Uživatelský avatar
Rukes
Příspěvky: 95
Registrován: 16 kvě 2014, 16:55
Reputation: 0

Re: AuthMe spawn teleport

#3 Příspěvekod Rukes » 04 led 2016, 18:31

Výborně, vypsal jsem ty světy a povolil (true) jak jsi mi řekl. Bohužel to pořád nejde...

Kód: Vybrat vše

    User profile = Spigot.getUsersByName("Rukes");
    return (profile.getLanguages().contains(Language.JAVA) && profile.getAge() == 15);

MarekBurget

Re: AuthMe spawn teleport

#4 Příspěvekod MarekBurget » 04 led 2016, 18:37

Kód: Vybrat vše

teleportUnAuthedToSpawn: false

na true.

Aku verziu auth me? maš?

Uživatelský avatar
Rukes
Příspěvky: 95
Registrován: 16 kvě 2014, 16:55
Reputation: 0

Re: AuthMe spawn teleport

#5 Příspěvekod Rukes » 04 led 2016, 18:39

AuthMe-5.0-beta1.jar

-- 04 led 2016, 17:41 --

Kód: Vybrat vše

    ForceSpawnLocOnJoinEnabled: true
    teleportUnAuthedToSpawn: false

a seznam světů (všech, správně) vypsán...

-- 04 led 2016, 17:57 --

Vyřešeno

Spoiler: zobrazit
# Spawn Priority, Values : authme, essentials, multiverse, default
spawnPriority: multiverse#nyní mám

Kód: Vybrat vše

    User profile = Spigot.getUsersByName("Rukes");
    return (profile.getLanguages().contains(Language.JAVA) && profile.getAge() == 15);


Zpět na „Minecraft, Tekkit“

Kdo je online

Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 27 hostů