Imbris
39f78e9116
Remove saves dir env var and setting from server settings and just always use saves as the dir name
2020-10-10 02:15:54 -04:00
Imbris
71251ca6a6
Change admins from Vec<String> into Hashset<Uuid>, add commands to server-cli-bin for adding and removing admins
2020-10-10 02:10:32 -04:00
Imbris
ca2bf937e6
Apply saves dir override when loading settings, change whitelist to a HashSet, let admins login even if they are not on the whitelist to reflect the comments in login code
2020-10-10 02:10:32 -04:00
Imbris
83fb26c4f9
Group editable server settings into one struct that is stored in the ecs, don't expose DataDir, use Uuid in the whitelist instead of usernames, replace Banlist record tuple with new type with named fields, remove commented code
2020-10-10 02:10:32 -04:00
Imbris
fb2cf1a292
Fix clippy warnings
2020-10-10 02:10:32 -04:00
Imbris
308cca0dc9
Put server-cli specific settings in their own structure, serde_derive -> serde
2020-10-10 02:10:32 -04:00
Imbris
7c14a3f4a4
New userdata folder that holds voxygen settings and logs and server saves and settings, split up server settings file into parts that are persisted back to their files and parts that are read-only, misc fixes
2020-10-10 02:10:32 -04:00
Ben Wallis
51459c0733
Implemented graceful shutdown on SIGUSR1 signal. Added shutdown <seconds> TUI command. Added abortshutdown TUI command. Fixed a bug in TUI that caused a panic on quit in basic mode on windows.
2020-10-04 21:24:45 +01:00
tylerlowrey
bdff4bc04c
Prevent client from ignoring Kicked event
2020-09-14 07:54:05 +02:00
tylerlowrey
9e7ec63800
Converted banlist to use Uuids as the key instead of the username
2020-09-14 07:54:05 +02:00
tylerlowrey
2b0c1e89f3
Refactored kicking the player into its own function + ran fmt on project
2020-09-14 07:54:05 +02:00
tylerlowrey
4653eb63c4
Converted banlist from vector of tuples to HashMap
2020-09-14 07:54:05 +02:00
tylerlowrey
def21af02b
Added ban command functionality
2020-09-14 07:52:31 +02:00
tylerlowrey
3bc57b4087
Added banlist to server settings and added default value
2020-09-14 07:52:31 +02:00
Marcel Märtens
961b8a4d7c
Implement the Player Timeout as config
2020-09-06 23:34:57 +02:00
Spyros Roum
25ca7ad28d
Make the default admin list an empty vec
2020-08-20 00:18:05 +03:00
Imbris
390d289d35
Add timeout's to group invites, and configurable limit to group size
...
Fix a few group bugs, enable invite timeout and group limits in ui
2020-08-08 01:16:35 +02:00
T-Dark0
d5e9e19881
Created banned words file
...
By default, it's an empty list
2020-07-16 14:05:35 +00:00
Marcel Märtens
c212de00c2
updated dependencies and fixed stuff
...
- replace serde_derive by feature of serde
incl. source code modifications to compile
- reduce futures-timer to "2.0" to be same as async_std
- update notify
- removed mio, bincode and lz4 compress in common as networking is now in own crate
btw there is a better lz4 compress crate, which is newer than 2017
- update prometheus to 0.9
- can't update uvth yet due to usues
- hashbrown to 7.2 to only need a single version
- libsqlite3 update
- image didn't change as there is a problem with `image 0.23`
- switch old directories with newer directories-next
- no num upgrade as we still depend on num 0.2 anyways
- rodio and cpal upgrade
- const-tewaker update
- dispatch (untested) update
- git2 update
- iterations update
2020-07-07 09:43:49 +02:00
Songtronix
200496d1bc
fix: allow maximum view distance in singleplayer
2020-07-06 10:37:44 +02:00
Joshua Barretto
1cca7bf4a8
Fmt, fixed chat-cli problem
2020-06-25 19:50:04 +01:00
Joshua Barretto
d9cd37056d
Added settings editing, set_motd command
2020-06-25 18:57:29 +01:00
Joshua Barretto
b46e080ade
Added server-side maximum view distance setting
2020-06-25 18:46:04 +01:00
Imbris
6501611372
Merge branch 'shandley/character-loading' into 'master'
...
Move character DB ops off the main thread
See merge request veloren/veloren!1075
2020-06-25 16:16:15 +00:00
Songtronix
f44df23935
feat: add server whitelist
2020-06-24 17:36:19 +02:00
Shane Handley
38b146d840
Add channel setup for persistence to move character operations off the
...
main thread.
2020-06-23 21:07:43 +10:00
Marcel Märtens
9485b45e70
switch to tracing
stlye and enhance logs with usefull information
...
- Updated CHANGELOG
- reduce dependencies
- found out that we have alot of duplicate coding... alot...
2020-06-22 09:53:15 +02:00
Kevin Glasson
589254e4ab
Convert all other veloren crates to use tracing
...
- Completely removed both `log` and `pretty_env_logger` and replaced
with `tracing` and `tracing_subscriber` where necessary.
- Converted all `log::info!(...)` et al. statements to just use the
shorthand macro i.e. `info!`. This was mostly to make renaming easier.
2020-06-21 23:19:41 +08:00
Ben Wallis
950c62efc6
Suppressed all existing clippy warnings in preparation for fixes as part of #587
2020-06-10 22:01:42 +01:00
Justin Shipsey
ea07d744a7
orientation animation
2020-05-27 06:41:55 +00:00
Treeco
61bcfbeeb2
Changed default map and seed, lowered site counts
2020-05-15 11:36:19 +01:00
Mckol
48c5d37a5d
Make singleplayer use voxygen's config path for persistence path.
2020-05-15 01:54:13 +02:00
Mckol
aa69046055
Changed the default path of persistence database
...
Now the default is `./saves/`, it's also configurable.
2020-05-14 22:42:44 +02:00
Songtronix
996eee0b42
change(server): rename settings file to server_settings.ron
2020-04-15 13:31:16 +02:00
Songtronix
50b845d1c3
:/ and reactivated the password field
2020-03-08 22:34:06 +01:00
Marcel Märtens
dae31ae5b6
apply new rustfmt - touching alot of files
2020-02-01 21:39:39 +01:00
Songtronix
145be79585
add new admin to default admin list
2020-01-30 19:01:24 +01:00
Joshua Yanovski
02f9c9490b
Addressing MR comments.
2020-01-24 03:45:29 +01:00
Joshua Yanovski
55a96bce09
Minor fix to map generation.
...
Also fixes some typos and makes formatting easier for changes needed to
produce large maps.
2020-01-23 18:18:17 +01:00
Joshua Yanovski
d54f22c9fa
Add a default world map.
...
Also adds map versioning, proper scaling, and updates sediment
rendering. It also tones down warp.
2020-01-23 18:18:15 +01:00
Joshua Yanovski
e91578ffdb
Cargo fmt most things (except erosion.rs).
2020-01-23 18:18:12 +01:00
Joshua Yanovski
ee5d383c46
Map saving, soil production, speedup attempts.
2020-01-23 18:18:10 +01:00
Monty Marz
851d7858e6
Scrolling Combat Text (SCT)
2020-01-10 00:33:38 +00:00
Acrimon
57bfb302dd
Formatted code.
2019-10-23 20:23:31 +02:00
Acrimon
2215f9abd7
code-style: iter instead of into_iter.
2019-10-23 16:45:47 +02:00
Acrimon
6f532a7a37
Drastically improved error messages in client and server.
2019-10-23 18:38:09 +02:00
Marcel Märtens
09bb908072
Make all CoreDevelopers and Admins server admins for now till we have a working auth system
2019-10-11 15:13:02 +02:00
Marcel Märtens
30c9fcc911
Fix bug that metrics took a random port always introduced in !584
...
also removed the duplicate port from the server creation process, using the server settings struct now
2019-10-11 14:19:55 +02:00
Monty Marz
29f6186139
hotbar changes
...
completely switched to. vox files
easier to see design
gradient and numbers on the health/mana bar
2019-08-18 18:07:21 +00:00
Piotr Korgól
a777b67b2d
Add needs_admin bool to check if the commands needs admin perms
2019-08-15 16:33:40 +02:00