Posts by james1bow
-
-
I have the plugin on my server and it's running fine so far.
My question would be whether the area for querying whether someone is in the portal could be expanded?
It seems to me to be very small and that you have to enter exactly a certain point
as soon as creating areas via api work correctly i will change how its triggered. for now i added the portal assist witch add a small collider to the portal. just walk into it until it stops you and your in the center.
-
That's weird, I'll take a closer look at this issue Thanks for the log!
With restart, do you mean an actual server restart? Or reloading the plugins via "reloadplugins" or "rp" command?
the reloadplugins command has no effect, i have to restart the actual server,game for sp for it to work if it would help i can get you a cleaner log
-
also if i list areas before restart with an api created area i get a game crash!
Code -
seems areas created using the api always returns the same areaId
Javaboth methods return same id for api areas until the sp game/server is restarted
, areas created with creative mode return the correct areaId.
-
i tried verifying files but it didnt help. so i copied steamclient, steamclient64, tier0, teir064 from my test server and it started working
-
error and server crash after update!
-
-
THIS PLUGIN IS JUST FOR FUN!!!! YOU CAN USE IT ON YOUR SERVER BUT I WOULD NOT!!!
was bored so made a small gravity plugin.
/gravity default sets your gravity
/gravity VALUE value has to be a float (-5.0f) default gravity is -9.81f.
/gravity all default sets all players on the server gravity to default
/gravity all VALUE sets all players on the server gravity
entering other commands that start with /gravity can/will cause an error!
again just for fun i would only use on single player worlds!
ps.
if you dare enter /gravity 999.99f.
-
-
are we able to change crafting recipes ?
-
-
A mail plugin!
to install:
extract the zip file to your plugins folder!
updates:
1.1 fixed issue with data base not being created.
to use:
type /Mail Box to open the ui.
type /Mail playerlist for a player list in chat.
type /Mail help for help
players can also email themselves (for saving coords and such)
Youtube video here!
future plans:
ability to attach a single item to the mail.
add a place-able mail box to check for letter/packages.
new mail notification
admin mail all function
player attributes used
i figured i would add this for trouble shooting purposes.
ReadMailGui (read mail ui element)
readMailGuiClose (close red mail button)
readMailGuiDelete (readmail delelete button)
readMailGuiReply (readmail reply button)
composing (is used when the compose ui element is visable)
message (used for replying)
subject (used for replying)
to (used for replying)
listMainPanel ( this is the panel where mails are listed. is child of mainMailGui)
mainMailGuiClose (closes all mail ui elements)
mainMailGuiCompose (compose mail button)
mainMainGuiRefresh (main mail refresh button)
mainMailGui (this is the main mail ui element)
composeToField (this is the to field for compose)
composeSubjectField (this is the subject text field for compose)
composeMessageField (this is the message text field for compose)
composeMailCancel (cancels mail composition)
composeMailSend (send composed mail button)
composeMailAttchItem (attach item to mail currently unsused)
composeMailGui (main copose maui ui element)
listings (HashMap of HashMaps each containing 16 mail listings(page HashMaps))
page (HashMaps page1 for the first 16 mails page2 for 17-32)
pagecount (total pages of mail)
currentpage (current page displayed in the listings)
reading (is set when the reading a mail)
-
is the Server.getAllAreas() not working? i beleive my code is correct but keep getting a null for start position.
-
However, this is a big area (as many players areas are on his servers) and so far I've only been able to make 6 claims, which only cover one full house, part of another house and a farm plot. With the points going up each time (think its now 120 to the next claim) this is going to take a very long time.
i believe yahgiggle mentioned adding a way for admins to give points in the future. for the time being the owner of the server can download db browser for sqlite. open the database in write mode(database.db in the plugin/worldname folder) and go to the points table and add points to the points column. then file/write changes. but, i cannot stress this enough backup the database first!
-
if you meet other players, trade ... or post orders or receive them from npcs ...
forgot to mention im also planning an auction house. there will be a selling/buying fee of some sort. there will also be a placable mail box for reciving packages from auction house and player to player deliveries/letters. player to player deliveries will have a mailing tax based on distance. the funds raised form the auction house and mail will be used as rewards for events as well as pay for materials for community builds. i think letters will be an equip able item that opens when you equip it. it can then be thrown away or stored in a chest(maybe a mail bag?)
-
as im trying to work out mechanics of the professions for the rpg overhaul plugin.... ive figured out a way to make events cost stamina. so if you are a lumberjack chopping trees only cost say 5 stamina while for a miner it would cost 10. you will get so many points per lvl gained. said points can be assigned. so a lumber jack could upgrade the cost per tree chopped(lower stam cost) as well as upgrade total stamina. thoughts?
-
As an example, let's take the plugins for the Rust game: in it, the plugins for teleporting home and teleporting to a saved point use different commands without a prefix. And the data about the author of the plugin is registered inside the plugin. Extra prefixes deprive of convenience when using the plugin.
I do not think that the /sethome and /home commands will be used by other plugins that do not relate to teleport.
using a prefix is the way to go. when a /command is used it triggers an onplayercommand method for all plugins. i ran into an issue where it was reading from the database from 2 of my plugins for every command entered. a simple fix was to add a prefix. so something like this:
in my case it was just getting a database connection for both plugins. but if your doing something more complex you can cause errors in other plugins.
with the above code it prevents any errors that may happening.
also with the api being new there is alot of development going on, the odds of having multiple plugins using similar commands is quit high. in my case there will be a /sethome player position, /sethome area, and /sethome area npc so my prefix's will be /npc, /player, /Area fallowed by the sethome.
-
how cool is that
you could learn certain crafts and if you meet other players, trade ... or post orders or receive them from npcs ... the possibilities are almost endless
yes. the possibilities are endless. one of many ideas so far!
CLASS:
fighter
does more melee damage
Stronger defenses
higher max health
archer
does more ranged damage
weaker defenses
lower max health
PROFESSIONS:
lumber jack
can plant trees starting lvl 1
0.5 harvest amount per point assigned
lower stamina drain
2x xp for each log collected
2x amount of board/sticks/lumber crafted
hunter
takes 2 x noise events to spook animals
0.5 harvest amount per point assigned
higher stamina drain
2x xp for gutting animals
miner
faster mining speed
lower stamina drain
2x xp for each stone/ore mined
2x amount of blocks crafted
cook
food timer -10 seconds per point assigned
nutral stamina
2x xp for each dish cooked
farmer
sub class crops
can plant crops from lvl 1
harvest amount + 1 per point assigned
nutral stamina
2x xp for each plant planted
sub class animals
can tame animals from lvl 1
animal breed speed +1 per point assinged
nutral stamina
2x xp for each aninal gutted
Builder
sub class carpenter
higher fall protection
30 slot construction bag
2x xp for each board placed
2x amount of boards crafted
sub class mason
higher fall protection
30 slot construction bag
2x xp for each block placed
2x amount of blocks crafted
black smith
lower smelting times
1.5 x xp for each ore smelted
1.5 x xp for each plate crafted
-