hello here asked a few pictures of my server, I have that consent if I can use them for here
:): D
name of the author are not necessary, we agreed to server name greetz
M.I.D.A
first 6 photos Asander
hello here asked a few pictures of my server, I have that consent if I can use them for here
:): D
name of the author are not necessary, we agreed to server name greetz
M.I.D.A
first 6 photos Asander
kna sombody teel me what i need to do step by step i use shh centos
Who can help me, my server makes everything very slow, when I fly I see in front of me load everything, so sometimes I have to wait before I can do anything for a long time
- 8core
-14gb Rm burstable 25 gb
-10gb memory
-1tb broadband
I now java -xmx14G -xms3G .....
What am I doing wrong, I can make sure that the server allows more chunks or so .....
its okay i got it
I fail to switch off the '' hud '' function
okay, danke
hello friends can anyone help me I have a problem I would like my players to make a little use of protection area for example, I would make is that another player from his area owner can add another player to his area is possible ? and what must I do to
tis is a litel script
database:queryupdate("INSERT INTO rights ('areaID', 'playerID', 'group') VALUES ('".. areas[areaID]["areaID"] .."', '".. player.dbID .. "', '".. cmd[2] .. "')");
database:queryupdate("UPDATE rights SET 'group'='".. cmd[2] .."' WHERE 'playerID'='".. player.dbID .."'");
event.player:sendTextMessage("[#00FF00]Player \"" .. cmd[3] .. "\" successfully added to area (".. cmd[2] ..")!");
database:queryupdate("DELETE FROM rights WHERE playerID= '" .. player.dbID .. "' AND areaID='" .. areaID .. "'");
1st problem is that I have this to add without admin rights then each player can an area that does not belong to him, he can make him
How can I ensure that players only people of his own area can add
können Sie mir sagen, wie es zu installieren, weil ich, dass nicht nur vermuten, dass dieses Skript zu Skript-Stick?
ok thanks is there and scrip When the server fall out that i will reboot automatically
who kan make lua script an want help me ?
hello start the update automatically (the script)
is ther now an command for ??
okay so sometimes I try. good for the brains.
it has never really worked, I changed everything and the database as well.
if I put everything back to normal sample, PlacePos_y PlacePos_z ..... etc back to HomePos_y HomePos_z ... etc and put the old database back everything works fine but people on my server sex but then served a home point. kite and I make something that other people platsen could make themselves as their home
i hope you have enough greetz Jjustmee22
exactly i have try it to make the same as home bhut whit places :p that is a scrip of tmn first when i got the mesage unknown comand and than i have chane som things an now th script wil start bhut when i type in chat /set place than i got no message enter happens nothing
i dont now whats rong the scrip start up bhut i kant use them
world = getWorld();
database = getDatabase();
function onEnable()
print("test!");
end
function onPlayerCommand(event)
local command = event.command;
local cmd = StringUtils:explode(command, " ");
if cmd[1] == "/setplace" then
local PlayerName = event.player:getName();
local PlaceTargetPos = event.player:getPosition();
local PlaceNewPosx = PlaceTargetPos.x;
local PlaceNewPosy = PlaceTargetPos.y;
local PlaceNewPosz = PlaceTargetPos.z;
result = database:query("SELECT PlacePos_x, PlacePos_y, PlacePos_z, count(ID) as count FROM home WHERE PlayerName = '".. PlayerName .."' ORDER BY id DESC LIMIT 1;")
while result:next() do
local count = result:getInt("count")
if count > 0 then
database:queryupdate("UPDATE `home` SET `Placepos_x` = '".. PlaceNewPosx .."', `Placepos_y` = '".. PlaceNewPosy .."', `PlaceposPos_z` = '".. PlaceNewPosz .."' WHERE `PlayerName` = '".. PlayerName .."';");
event.player:sendTextMessage("Your home point has been changed.");
else
database:queryupdate("INSERT INTO home ('PlayerName', 'PlacePos_x', 'PlacePos_y', 'PlacePos_z') VALUES ('".. PlayerName .."', '".. PlaceNewPosx .. "', '".. PlaceNewPosy .. "', '".. PlaceNewPosz .. "')");
event.player:sendTextMessage("Your new home point was created.");
end
end
result:close();
elseif cmd[1] == "/place" then
local PlayerName = event.player:getName();
result = database:query("SELECT PlacePos_x, PlacePos_y, PlacePos_z, count(ID) as count FROM home WHERE PlayerName = '".. PlayerName .."' ORDER BY id DESC LIMIT 1;")
while result:next() do
local count = result:getInt("count")
if count > 0 then
local newPosx = result:getString("PlacePos_x");
local newPosy = result:getString("PlacePos_y") + 1.0;
local newPosz = result:getString("PlacePos_z");
event.player:setPosition(newPosx, newPosy, newPosz);
event.player:sendTextMessage("You are bound to your home.");
else
event.player:sendTextMessage("Hmm, nothing found! You've probably made no sethome?!");
end
end
result:close();
elseif cmd[1] == "/homeadmin" then
if not event.player:isAdmin() then
event.player:sendTextMessage("[#FF0000][error] You are not an admin.");
return;
end
if #cmd >= 2 then
local PlayerName = cmd[2];
result = database:query("SELECT PlacePos_x, PlacePos_y, PlacePos_z, count(ID) as count FROM home WHERE PlayerName = '".. PlayerName .."' ORDER BY id DESC LIMIT 1;")
while result:next() do
local count = result:getInt("count")
if count > 0 then
local newPosx = result:getString("PlacePos_x");
local newPosy = result:getString("PlacePos_y") + 1.0;
local newPosz = result:getString("PlacePos_z");
event.player:setPosition(newPosx, newPosy, newPosz);
event.player:sendTextMessage("You are on the home by the player".. PlayerName .." keep it clean.");
else
event.player:sendTextMessage("Hmm, nothing found! player ".. PlayerName .." probably made no sethome yet?!");
end
end
result:close();
else
event.player:sendTextMessage("[#FF0000][tip] Use / home admin <name>");
end
end
end
addEvent("PlayerCommand", onPlayerCommand);
okey i go try that
okay what I mean right, I have a server which eight CPUs, 25gb ram, 1T broadband en1T storage. but sometimes when I'm on the server allows all rather dull. on my PC I can instelen how much ram I give to the game, I thought hat if I can do with server
this is what I use to optestaren server
- Java -jar -Xmx15360M -Xms14336M server.jar
How can I make sure that all the server load faster?
and if I 2x f3 pressure I get right into the corner a box measuring blouw red yellow and black. where to is the yellow line?
yeah i saw it thanks for the response, you know where I also happen to find a script or information for the server to boot automatically
hello all i god tis meseage who kan help me
SQLString: UPDATE `lastlog` SET `disconnect_at` = 0 WHERE `disconnect_at` = -1
java.sql.SQLException: attempt to write a readonly database
at org.sqlite.NativeDB.throwex(NativeDB.java:210)
at org.sqlite.NativeDB._exec(Native Method)
at org.sqlite.Stmt.executeUpdate(Stmt.java:152)
at lua.wrapper.LuaDatabase.queryupdate(SourceFile:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.luaj.vm2.lib.jse.JavaMethod.invokeMethod(Unknown Source)
at org.luaj.vm2.lib.jse.JavaMethod.call(Unknown Source)
at org.luaj.vm2.LuaClosure.execute(Unknown Source)
at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source)
at org.luaj.vm2.LuaClosure.invoke(Unknown Source)
at org.luaj.vm2.LuaValue.invoke(Unknown Source)
at lua.LuaScript.enable(SourceFile:90)
at lua.LuaScript.<init>(SourceFile:85)
at lua.ScriptManager.loadScripts(SourceFile:35)
at server.Main.c(SourceFile:436)
at server.Main.initApplication(SourceFile:267)
at commons.JIWApplication.initialize(SourceFile:85)
at com.jme3.system.NullContext.initInThread(NullContext.java:86)
at com.jme3.system.NullContext.run(NullContext.java:129)
at java.lang.Thread.run(Thread.java:745)