Hello there,
Your inventory items stay with you. If you are in a town, as long as the bank has enough funds to keep paying taxes while you are offline then your items in the town will be safe. If the town falls, however, then anything in the town is allowed to be looted according to our server rules.
If you were building in the wilderness, well that was never safe to begin with. And again, according to the server rules, is allowed to be looted.
Thank you