Coder Social home page Coder Social logo

mixedmodeauth's People

Contributors

arcalyth avatar danielfallon avatar jessenic avatar thulinma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mixedmodeauth's Issues

Cannot login in offline mode

I am running the modded server with its plugin. All the configuration has been left to default (except some strings that have been translated).
Permissions
mixedmodeauth.create: true
mixedmodeauth.passwd: true

have been given to everyone.
I have copied the abp.class into %appdata%/.minecraft/bin/minecraft.jar and deleted the META-INF file.

but, still, I cannot login to the server, I always get a "bad login" error when logging in with the minecraft client being "offline". What did I mess up ?

Block chat to non Auth players

Hi there,

First of all, I want to give my feedback regarding the latest abp. class, it works flawlessly. Thank you!

I have a small request, because I'm having some spam users that are to no interest to me.
Is it possible to add an option to block chat to Guest users? Or even a block move option?

Regards,
JohnPusle

Client Mod

Excuse me good sir your client mod to get offline people on a online server with mixed mode auth seems to not be working i'd greatly appreciate it if you could update it :) Thanks.

Logged-in offline players' names change when new offline players log in, and players get mixed up in the Bukkit server.

I am using the modded bukkit server in offline mode.

First I log in with one offline player as "Alice". Then I log in with another offline player as "Bob".

Then I make "Alice" say (using 't') "Hello". On the console it is printed " Hello" but it should say " Hello"!

When I list the users it says there are two users called "Bob".

So it seems that somehow the users are mixed up. The player that loged in as Player
seem to get assigned to the same user, but the ones with a premium account seem to be
seen as different users.

There are other problems too which I think are related to this.
I am not sure that this is happening 100% of the time, but it happens very frequently.

Legacy mode: Internal client error

Installed the PHP script properly. forwarded session.minecraft.net to my server IP.
If I go to session.minecraft.net/checkserver.jsp, I even get the "The script is installed properly! Yay!" message.
start up game in offline mode: Get this error:

Connection Lost
Internal client error: java.io.FileNotFoundException: http://session.minecraft.net/game/joinserver.jsp?user=Player&sessionId=&serverId=hexdigitstoolazytocopy.

Obviously this is because joinserver.jsp doesn't exist on the server. But there's no joinserver.php script, and forwarding that to checkserver.jsp gives me a different error entirely (Connection Lost / Failed to login: YES).

I also forwarded to plain minecraft.net and www.minecraft.net to see if there were errors in your documentation (the checkserver.php file actually does say to use the hosts file to go to www and not session -- which one's correct?) but they all give Bad Login errors.

...what's the problem? I'd really like to have this working for when minecraft.net goes down during the middle of updating server plugins (seemingly every time there's a Bukkit update; I have crap luck).

(ALSO: running on Nginx. I'll contribute server config once this is sorted out!)

Essential+MixedModeAuth = Server Fails To Ping

So my friend uses a hosting manager called Multicraft, but it would seem that when essentials and MixedModeAuth are enabled together the manager will restart claiming that the server cannot be pinged or loses connection yada yada. I also tend to see some messages in the multicraft console saying x number of players with some very weird syntax. I don't see these things in a command prompt, but in the manager I do. So apparently it's more of a Multicraft+Essentials+MixedModeAuth issue. If you could look into this I'd appreciate it.

When do you plan to have 1.1 RB?

I'd be fine adding the server mod to the 1.1 RB. If you can provide a patch file or whatever you think I would need, I can do it myself. Thanks a lot for the great work on this mod.

[Request] Whitelist style list of players that require MC.net auth

I'm not sure if I should be posting this here, but the thread on bukkit is locked and this is the closest plugin to exactly what I need.

I run a server with mixed users (Premium and non -premium); I'm going to try to explain this as clearly as I can

I need a "premium.txt" where I can add player names. If a player that joins is in the "premium.txt" list, then their login is checked with mc.net. If it checks successfully, they can play immediately. If the check fails, they are kicked like a player would normally be kicked if a non premium player tried to play on an online mode server.

If the player is not in the "premium.txt", checking with mc.net is skipped and then they are asked to login if they are registered, or they are asked to register if their name hasn't been registered before. (and the name is taken from the client and not set by command)

The effect of this is to allow my premium players to play without any interruption or login other than normal while my non-premium players will have to set/enter a password.

The reason why I can't use what is currently in the plugin is because non-premium players will be able to log in as a premium players name and will be able to access chests. I hope you understand what I am asking for, and I hope it isn't too much to ask.

Unknown command.

I used this plugin back in 1.7.3 and it worked great, however, I am now wanting to use it in 1.1 but I cannot get it to work. I've made sure that I was using the correct jar but it still does not want to work. It simply says the commands are unknown.

Or the problem more specifically is, where the hell do I get the plugin?

Does this authenticate premium users too?

I have a server, and I was wondering if it requires premium users to have a password too.

I don't want to make the premium users set a password, but I want the offline users to have to set a password.

Is that what this plugin does?

Thanks.

-Rtzon

Creating offline accounts?

I do not have an online account to login to my server so I can't make any offline accounts. I tried to do so manually, but I can't find any user database. Any help would be appreciated.

Not loading with Multicraft?

Well I just recently got my server dedicated and started using the panel of Multicraft. All my other plugins work fine but essentials is not working at all. I can't find anywhere on the console about any error but I'm pretty sure it loaded, just not working.
If you are in-game , and you try to do /time or /weather, it does NOT say "Unknown command" but it doesn't do anything.
Even /essentials doesn't work.
Any ideas?
BTW: This is the most recent build of essentials. I also tried it with 1 earlier build and it won't work.

Whether an update to 1.4.7?

I try to use your concept to make mixedmode auth for 1.4.6 server, but it seems like server or client makes some more checks, don't just to checkserver.jsp, or i don't understand, how works the whole system.

i use your file checkserver.php woth apache, if i try to make request to session.minecraft.net from my server, it will return "YES" - all clear

and i take your

     public void onPlayerPreLogin(PlayerPreLoginEvent event){
            //if this person would have been allowed, but is not because of failing the verify, let them in
            if (event.getResult() != PlayerPreLoginEvent.Result.ALLOWED){
                event.allow();
            }else{

            }
          }

Event, put it in my plugin.

Is there all need to work correctly? I still take a "user not premium" error (

Isn't working with permissions

For some reason this isn't working correctly with permissions. For permissions the default group is Default with breaking blocks off. When players log in and register an account with the MixedModeAuth, a moderator goes in and adds them into the permissions file manually, changing their group from default to Builder (allows building, ect.). The plugin is then reloaded. The player is still not considered a builder and can not build. I have tried a full server restart, I have tried going into the permissions file itself, adding the player with the Builder group, deleting the default group, restarting the server, and still when the player authenticates itself within the plugin it refuses to work. They have their name changed and they get everything back that they had, they are back where they logged off ect, It just doesnt give them the permissions they are supposed to have for being in the Builder group, as if they were still in the Default group.

Update?

Hello,

Can we expect a plugin update for R6 and 1.2?
I tried to mess with the code on the Bukkit R6 but with no success..

Regards,
John

Incompatibility with latest Spout?

2011-12-20 17:48:51 [INFO] This server is running Craftbukkit version git-Bukkit-1.0.1-R1-3-g626577e-b1597jnks (MC: 1.0.1+PreLogMod) (Implementing API version 1.0.1-R1)
...
2011-12-20 17:48:53 [INFO] [Spout] Spout 644 has been initialized
...
2011-12-20 17:48:55 [INFO] [MixedModeAuth] 2.4 enabled WITHOUT secure mode.
...
2011-12-20 17:48:59 [INFO] mcMMO version 1.2.07 is enabled!
...
2011-12-20 17:52:35 [SEVERE] Could not pass event BLOCK_BREAK to mcMMO
java.lang.NullPointerException
at com.gmail.nossr50.spout.SpoutStuff.updateXpBar(SpoutStuff.java:553)
at com.gmail.nossr50.skills.Skills.XpCheckSkill(Skills.java:360)
at com.gmail.nossr50.skills.Herbalism.herbalismProcCheck(Herbalism.java:336)
at com.gmail.nossr50.listeners.mcBlockListener.onBlockBreak(mcBlockListener.java:265)
at org.bukkit.plugin.java.JavaPluginLoader$40.execute(JavaPluginLoader.java:539)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:201)
at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:145)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:498)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:208)
at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
2011-12-20 17:52:35 [SEVERE] Could not pass event PLAYER_INTERACT to PortalStick
java.lang.NullPointerException
at com.matejdro.bukkit.portalstick.listeners.PortalStickPlayerListener.onPlayerInteract(PortalStickPlayerListener.java:126)
at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178)
at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:92)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:498)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:208)
at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
...
2011-12-20 17:52:37 [SEVERE] Could not pass event PLAYER_MOVE to Spout
java.lang.NullPointerException
at org.getspout.spoutapi.chunkstore.PlayerTrackingManager.onMoveChunk(PlayerTrackingManager.java:37)
at org.getspout.spout.SpoutNetServerHandler.setPlayerChunk(SpoutNetServerHandler.java:819)
at org.getspout.spout.SpoutPlayerListener.onPlayerMove(SpoutPlayerListener.java:218)
at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:307)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:182)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:679)
at net.minecraft.server.Packet10Flying.a(SourceFile:126)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

[Feature] .htaccess file for php

Yea ! That's it, i wanted to do this myself :)

Installation in progress :)

You might add .htaccess file for Apache/other servers :)

Offline vs Online

Is it possible for the server to selectively behave like an online or offline server depending on whether or not the client is in offline or online mode?

requiring players to have a modded client can be a steep climb.

I don't know enough about the login handshake to figure out how to implement this, but I just thought I'd introduce the possibility

Plugins with tekkit? HELP!

I would like to add this plugin to my tekkit server, but the game just simply doesn't use custom plugins. When i type "plugins" so i can see the list it's not in there. I can't use the commands for this plugin. I haven't installed ANY other plugin yet, please help.

Issues with the new abp.class

Hi there!

I'm having some problems using the new client mod.
When connecting to a server with MixedmodeAuth installed (my own, non-legacy mode), I have the following error on the client.

Failed to connect to the server

java.lang.SecurityExeption: SHA-256 digest error for abp.class

Any help to bypass this error will be appreciated :)

Best regards,
JohnPulse

Is it possible to get more detailed Legacy install instructions?

Hi,

I spent most of yesterday trying to install your mod in Legacy on my Minecraft server. Of course it doesn't help that I have no idea about coding etc. but believe that with detailed step by step instructions on how to install your mod onto servers in legacy mode it would be a lot more popular. After searching for hours and hours through Google and Bukkit this seems to be the best hope I have of letting my friends play on my server.

I searched through Google after reading the instructions contained in the .PHP file (which I still have no idea how to use.) and am still very lost and or confused. I know these problems would only be for noob like me but having detailed instructions on setting up legacy mode (instead of using the older modded craftbukkit) would give you the recognition that you deserve.

I would like to run legacy mode because my server is 1.2.5 and we use things like automap and hd textures which seems to have problems loading with a modded client. I really did try hard to figure this out, I spent hours in Google etc. following different guides that got me nowhere.

If you could make a Legacy set-up for dummies I would really appreciate it. If you are too busy, I appreciate the time you took to read this.

Thank you very much.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.