Comments (16)
Server and plugin version?
from playersql.
server: 1.8.3 and 1.8.7; plugin: 1.1.2 from Spigot and 1.1.3 from here
from playersql.
Any server lag or crash before lock data?
from playersql.
no, absolutely not
tested with 3 different MySQL Servers
from playersql.
Any error output?
from playersql.
no
from playersql.
for me it seems that the unlock process is not fired correctly
from playersql.
I have no idea yet, I will test it this weekend.
from playersql.
You could test it, if you set your player (must be offline) manually to online in the MySQL table (column Online = 1) and then try to join the server.
What?
from playersql.
I really found no problems in testing.
I switched the server more than 100 times and not one failure.
from playersql.
Hmm, but have you also tested what happens if a player is locked? For me the bug hides in the unlock process. That could be the UnlockTask.java or related. The simplest way to test is to manually set the player online to 0 in the db and than try to join. So again, what happens after a player is locked.
from playersql.
I know it will locked 5 mins.
from playersql.
So, is it possible to reduce this time or make it configurable?
from playersql.
The plugin saves a player every 3 minutes i suppose, so 5 min lock is alright.
from playersql.
Hmm, but have you also tested what happens if a player is locked? For me the bug hides in the unlock process. That could be the UnlockTask.java or related. The simplest way to test is to manually set the player online to 0 in the db and than try to join. So again, what happens after a player is locked.
UnlockTask.java
is only used in an infrequent case where a player quits the server fast enough after joining to unlock the locked data, which was locked during its data's being loaded.
So, is it possible to reduce this time or make it configurable?
Which time
do you mean?
from playersql.
Close. You can test the new /psql send <who> <target_server>
command. If any problem please open a new issue.
from playersql.
Related Issues (20)
- PSQL v2.10加载时出现问题 HOT 1
- 加载出现问题 HOT 1
- lib无法获取 HOT 1
- 玩家经验值在换服后错误
- ERROR HOT 1
- 加载出错 HOT 3
- Error occurred while enabling PlayerSQL HOT 1
- 1.16 items are not transferred HOT 1
- PlayerSQL 2.11.3 Error HOT 3
- PlayerSQL 2.11.6 error HOT 5
- Could not load 'plugins/playersql.jar' in folder 'plugins' HOT 4
- 关于1.16.5最新版与playerSQL HOT 5
- 2.11.6会导致无限刷物品 HOT 10
- This plugin requires simpleorm, but simpleorm is no longer available HOT 2
- null setting issues HOT 4
- 傳送伺服器的指令是什麼 HOT 1
- I can't use command HOT 2
- 玩家数据被锁定 HOT 4
- 玩家背包物品/open HOT 1
- 2.11.6 同步时概率出现玩家经验被设置满值 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playersql.