Question Fake multiple profiles

Discussion in 'Bukkit Help' started by lohmann99, Aug 23, 2019.

  1. Offline

    lohmann99

    Hi im hosting a server for my students at work, and they will get handed out a random login when they play.

    My hope was that i could make some sort of fake profile, that would allow you to login with at user and password (could be a locked dor with just a password, in a room marked with the profile name)

    They would be removed from all worldguard groups on joining the server and be added to a group named after the profile on loggin in.

    So no matter what acount they get they can login and get access to thier plot.

    Is this at all possible?
     
  2. Online

    timtower Moderator Moderator

    @lohmann99 Is a lot of juggling with permissions but is technically possible.
     
  3. Offline

    lohmann99

    Can command blocks add and remove members to worldguard groups?
     
  4. Online

    timtower Moderator Moderator

    Not sure, you might need something more powerful than worldguard groups.
    I think that you need permission groups that are hooked to worldguard regions.
     
  5. Offline

    lohmann99

    So you would have a permission group and that gives you access to a specific worldguard region? but how would you give the permission to a player? It needs to be protected somehow so that the players can't just "log in" as whoever they want and grief the others regions.
     
  6. Online

    timtower Moderator Moderator

    That is why you need a plugin that can handle it.
    Plugin stores username and password (hashed), needs to intercept command packages to hide the passwords from the logs, on login the plugin runs commands or accesses the permissions through code to set the correct group / permissions.
     
  7. Offline

    lohmann99

    Yeah. That seems complex. I might need to think about another way to handle the server then. Matbe if i was able to just pasword protect the regions, but then again that would also require giving permissions based on player input.
     
  8. Online

    timtower Moderator Moderator

    @lohmann99 Or a region plugin that is able to work with passwords itself.
     
  9. Offline

    lohmann99

    Yeah. I've scoured the for anythin to do with password protected regions, but can't seem to find any. I might just have to look into how you write plugins :)
     
  10. Online

    timtower Moderator Moderator

    Or you can make a plugin request.
    https://bukkit.org/forums/plugin-requests.96/
     

Share This Page